Revert AddCallbackAdapter fix??

This commit is contained in:
Clisprail
2014-04-11 01:18:46 +02:00
parent 07e1c61aab
commit 45957c8d34
@@ -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,