diff --git a/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModAnnotation.java b/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModAnnotation.java index b2f35154f..0ea6c9ee2 100644 --- a/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModAnnotation.java +++ b/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModAnnotation.java @@ -132,7 +132,7 @@ public class ModAnnotation } public ModAnnotation addChildAnnotation(String name, String desc) { - ModAnnotation child = new ModAnnotation(ElementType.PARAMETER, Type.getType(desc), this); + ModAnnotation child = new ModAnnotation(type, Type.getType(desc), this); addProperty(name, child.getValues()); return child; }