From 854c900c398fdfa24bfffc20a52d6ec2a035d804 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Fri, 14 Jul 2017 20:49:24 -0700 Subject: [PATCH] Fix obfuscated name of EntityPlayer.jump --- java/squeek/quakemovement/ASMPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/squeek/quakemovement/ASMPlugin.java b/java/squeek/quakemovement/ASMPlugin.java index 51e1d6e..f12b7e4 100644 --- a/java/squeek/quakemovement/ASMPlugin.java +++ b/java/squeek/quakemovement/ASMPlugin.java @@ -46,7 +46,7 @@ public class ASMPlugin implements IFMLLoadingPlugin, IClassTransformer loadParameters.add(new VarInsnNode(Opcodes.ALOAD, 0)); injectSimpleHook(method, findFirstInstruction(method), CLASS_QUAKE_CLIENT_PLAYER, "beforeOnLivingUpdate", toMethodDescriptor("V", CLASS_ENTITY_PLAYER), loadParameters); - method = findMethodNodeOfClass(classNode, isObfuscated ? "cm" : "jump", "()V"); + method = findMethodNodeOfClass(classNode, isObfuscated ? "cu" : "jump", "()V"); if (method == null) throw new RuntimeException("could not find EntityPlayer.jump");