Simplify condition in ResetTransformer

master
Graham 5 years ago
parent 87cbb83fcf
commit 1153165227
  1. 2
      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); MethodNodeUtilsKt.removeDeadCode(method, clazz.name);
for (var insn : method.instructions) { for (var insn : method.instructions) {
if (insn.getOpcode() == -1 || insn.getOpcode() != Opcodes.INVOKESTATIC) { if (insn.getOpcode() != Opcodes.INVOKESTATIC) {
continue; continue;
} }

Loading…
Cancel
Save