Skip to content

Commit 854c900

Browse files
committed
Fix obfuscated name of EntityPlayer.jump
1 parent 16f7f5e commit 854c900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/squeek/quakemovement/ASMPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public byte[] transform(String name, String transformedName, byte[] bytes)
4646
loadParameters.add(new VarInsnNode(Opcodes.ALOAD, 0));
4747
injectSimpleHook(method, findFirstInstruction(method), CLASS_QUAKE_CLIENT_PLAYER, "beforeOnLivingUpdate", toMethodDescriptor("V", CLASS_ENTITY_PLAYER), loadParameters);
4848

49-
method = findMethodNodeOfClass(classNode, isObfuscated ? "cm" : "jump", "()V");
49+
method = findMethodNodeOfClass(classNode, isObfuscated ? "cu" : "jump", "()V");
5050
if (method == null)
5151
throw new RuntimeException("could not find EntityPlayer.jump");
5252

0 commit comments

Comments
 (0)