Skip to content

Commit

Permalink
Add ASMAPI.MethodType.DYNAMIC (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathing authored Nov 13, 2023
1 parent fc9ba8d commit 8f270c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/minecraftforge/coremod/api/ASMAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void appendMethodCall(MethodNode node, MethodInsnNode methodCall)
}

public enum MethodType {
VIRTUAL, SPECIAL, STATIC, INTERFACE;
VIRTUAL, SPECIAL, STATIC, INTERFACE, DYNAMIC;

public int toOpcode() {
return Opcodes.INVOKEVIRTUAL + this.ordinal();
Expand Down

0 comments on commit 8f270c1

Please sign in to comment.