mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-12-06 19:01:44 +00:00
Revert AddCallbackAdapter fix??
This commit is contained in:
1 parent
07e1c61aab
commit
45957c8d34
1 file changed
+1
-1
@@ -42,7 +42,7 @@ public class AddCallbackAdapter implements Injectable, Opcodes {
|
||||
Label l0 = new Label();
|
||||
inject.add(new LabelNode(l0));
|
||||
for (int arg : args) {
|
||||
inject.add(new VarInsnNode(ASMUtils.getLoadOpcode(types[arg - 1 < 0 ? 0 : arg - 1]
|
||||
inject.add(new VarInsnNode(ASMUtils.getLoadOpcode(types[arg]
|
||||
.getDescriptor()), arg));
|
||||
}
|
||||
inject.add(new MethodInsnNode(INVOKESTATIC,
|
||||
|
||||
Reference in new issue
Block a user