Fix element type of scanned child annotations

This commit is contained in:
tterrag committed 2020-04-11 01:19:25 -04:00
1 parent 5e554530ac
commit bdd0af5280
1 file changed
+1 -1
@@ -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;
}