mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Fix element type of scanned child annotations
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user