From 1153165227aa4ad190b5157f71996d20e7af1af1 Mon Sep 17 00:00:00 2001 From: Graham Date: Tue, 24 Dec 2019 20:55:42 +0000 Subject: [PATCH] Simplify condition in ResetTransformer --- .../main/java/dev/openrs2/deob/transform/ResetTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deob/src/main/java/dev/openrs2/deob/transform/ResetTransformer.java b/deob/src/main/java/dev/openrs2/deob/transform/ResetTransformer.java index 42ec424c88..bc8be3eaa6 100644 --- a/deob/src/main/java/dev/openrs2/deob/transform/ResetTransformer.java +++ b/deob/src/main/java/dev/openrs2/deob/transform/ResetTransformer.java @@ -69,7 +69,7 @@ public final class ResetTransformer extends Transformer { MethodNodeUtilsKt.removeDeadCode(method, clazz.name); for (var insn : method.instructions) { - if (insn.getOpcode() == -1 || insn.getOpcode() != Opcodes.INVOKESTATIC) { + if (insn.getOpcode() != Opcodes.INVOKESTATIC) { continue; }