summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/tools/StackTools.java
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-13 02:47:09 +0100
committer zaaarf <zaaarf@proton.me>2023-03-13 02:47:09 +0100
commit30f7660ded76c402a6c434eb4d54a54e2ec8f187 (patch)
tree5f0340109e2a2533ec7d76779ca3a3e991da3929 /src/main/java/ftbsc/lll/tools/StackTools.java
parent592e38066fb325d2412c914369df1d4aa5c1c09c (diff)
fix: failure to restart matcher after failing to find pattern once0.3.3
Diffstat (limited to 'src/main/java/ftbsc/lll/tools/StackTools.java')
-rw-r--r--src/main/java/ftbsc/lll/tools/StackTools.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/tools/StackTools.java b/src/main/java/ftbsc/lll/tools/StackTools.java
index 6816860..9268d56 100644
--- a/src/main/java/ftbsc/lll/tools/StackTools.java
+++ b/src/main/java/ftbsc/lll/tools/StackTools.java
@@ -43,7 +43,7 @@ public class StackTools implements Opcodes {
public static InsnList instantiate(String name, String desc, InsnList args) {
InsnSequence list = new InsnSequence();
list.add(new TypeInsnNode(NEW, name), new InsnNode(DUP));
- if (args != null) list.add(args);
+ if(args != null) list.add(args);
list.add(new MethodInsnNode(INVOKESPECIAL, name, "<init>", desc, false));
return list;
}