From d9f874906dcbdff5dca4bcfeab7e7c888f505240 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 22 Dec 2019 14:08:35 +0000 Subject: [PATCH] Make RightClickTransformer compatible with the unsigned client --- .../dev/openrs2/bundler/transform/RightClickTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundler/src/main/java/dev/openrs2/bundler/transform/RightClickTransformer.java b/bundler/src/main/java/dev/openrs2/bundler/transform/RightClickTransformer.java index 9dca2799f6..84e1f237d5 100644 --- a/bundler/src/main/java/dev/openrs2/bundler/transform/RightClickTransformer.java +++ b/bundler/src/main/java/dev/openrs2/bundler/transform/RightClickTransformer.java @@ -32,7 +32,7 @@ public final class RightClickTransformer extends Transformer { } 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; }