mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-19 19:59:40 +00:00
Merge pull request #4 from ElNounch/patch-1
Can't call getReturnType on fields
This commit is contained in:
1 file changed
+2
-2
@@ -579,7 +579,7 @@ object ASMMixinCompiler
|
||||
})
|
||||
}
|
||||
else {
|
||||
fields += FieldMixin(sym.name.trim, getReturnType(sym.jDesc).getDescriptor,
|
||||
fields += FieldMixin(sym.name.trim, sym.jDesc,
|
||||
if (fieldAccessors(sym.name.trim).isPrivate) ACC_PRIVATE else ACC_PUBLIC)
|
||||
}
|
||||
}
|
||||
@@ -588,4 +588,4 @@ object ASMMixinCompiler
|
||||
mixinMap.put(cnode.name, mixin)
|
||||
mixin
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user