From 30f7660ded76c402a6c434eb4d54a54e2ec8f187 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Mon, 13 Mar 2023 02:47:09 +0100 Subject: fix: failure to restart matcher after failing to find pattern once --- src/main/java/ftbsc/lll/tools/StackTools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/ftbsc/lll/tools/StackTools.java') 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, "", desc, false)); return list; } -- cgit v1.2.3-56-ga3b1