Skip to content

Commit ca3925a

Browse files
committed
fix: wrong order of arguments in method node match
1 parent 5031613 commit ca3925a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/ftbsc/lll/utils/PatternMatcher.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ && matchList(1, args, lookup.keys.toArray(), false, Object::equals)
366366
case 3:
367367
return methodMatch
368368
&& args[0].equals(method.owner)
369-
&& args[1].equals(method.desc)
370-
&& args[2].equals(method.name);
369+
&& args[1].equals(method.name)
370+
&& args[2].equals(method.desc);
371371
}
372372
return false;
373373
case AbstractInsnNode.FIELD_INSN:

0 commit comments

Comments
 (0)