|
@@ -48,7 +48,7 @@ function transform(method)
|
|
instrList.remove(instrList.get(i - 4));
|
|
instrList.remove(instrList.get(i - 4));
|
|
instrList.remove(instrList.get(i - 4));
|
|
instrList.remove(instrList.get(i - 4));
|
|
instrList.insert(instrList.get(i - 5), new VarInsnNode(Opcodes.ALOAD, 0));
|
|
instrList.insert(instrList.get(i - 5), new VarInsnNode(Opcodes.ALOAD, 0));
|
|
- instrList.insert(instrList.get(i - 4), new MethodInsnNode(Opcodes.INVOKESTATIC, "me/kcm/events/Hooks",
|
|
|
|
|
|
+ instrList.insert(instrList.get(i - 4), new MethodInsnNode(Opcodes.INVOKESTATIC, "me/kcm/Hooks",
|
|
"setPlayerList", "(Lnet/minecraft/server/dedicated/DedicatedServer;)V", false));
|
|
"setPlayerList", "(Lnet/minecraft/server/dedicated/DedicatedServer;)V", false));
|
|
break;
|
|
break;
|
|
}
|
|
}
|