We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73d0c29 commit 05aa80eCopy full SHA for 05aa80e
1 file changed
src/main/java/de/oceanlabs/mcp/mcinjector/JsonStruct.java
@@ -2,6 +2,8 @@
2
3
import java.util.ArrayList;
4
5
+import org.objectweb.asm.Opcodes;
6
+
7
public class JsonStruct
8
{
9
public EnclosingMethod enclosingMethod = null;
@@ -38,7 +40,9 @@ public static class InnerClass
38
40
39
41
public int getAccess()
42
- return Integer.parseInt(access == null ? "0" : access, 16);
43
+ int ret = Integer.parseInt(access == null ? "0" : access, 16);
44
+ ret &= ~Opcodes.ACC_SUPER; //Hack fix for old data, ACC_SUPER is invalid in InnerClasses.
45
+ return ret;
46
}
47
48
0 commit comments