Make RightClickTransformer compatible with the unsigned client

master
Graham 5 years ago
parent 854d0d29e7
commit d9f874906d
  1. 2
      bundler/src/main/java/dev/openrs2/bundler/transform/RightClickTransformer.java

@ -32,7 +32,7 @@ public final class RightClickTransformer extends Transformer {
} }
var invokevirtual = (MethodInsnNode) insn; var invokevirtual = (MethodInsnNode) insn;
if (!invokevirtual.owner.equals("java/awt/event/MouseEvent")) { if (!invokevirtual.owner.equals("java/awt/event/MouseEvent") && !invokevirtual.owner.equals("java/awt/event/InputEvent")) {
continue; continue;
} }

Loading…
Cancel
Save