mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-10-25 20:22:22 +00:00
Need to clear the vars too, otherwise it complains when being run in dev (#5)
This commit is contained in:
1 parent
49d6a5eeb3
commit
f58c004a84
1 file changed
+1
@@ -91,6 +91,7 @@ public class EnderCoreTransformer implements IClassTransformer {
|
||||
while (methods.hasNext()) {
|
||||
MethodNode m = methods.next();
|
||||
if (voidFogMethod.equals(m.name)) {
|
||||
m.localVariables.clear();
|
||||
m.instructions.clear();
|
||||
|
||||
m.instructions.add(new VarInsnNode(ALOAD, 0));
|
||||
|
||||
Reference in new issue
Block a user