Simplify condition in ResetTransformer

bzip2
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);
for (var insn : method.instructions) {
if (insn.getOpcode() == -1 || insn.getOpcode() != Opcodes.INVOKESTATIC) {
if (insn.getOpcode() != Opcodes.INVOKESTATIC) {
continue;
}

Loading…
Cancel
Save