Skip to content

Commit dd5a473

Browse files
committed
remove extra [on]
1 parent 2c633f0 commit dd5a473

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/org/skriptlang/reflect/syntax/event/EventSyntaxInfo.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ protected EventSyntaxInfo(Script script, String pattern, int matchedPattern) {
1313
}
1414

1515
public static EventSyntaxInfo create(Script script, String pattern, int matchedPattern) {
16-
pattern = "[on] " + pattern;
17-
1816
return new EventSyntaxInfo(script, SkriptMirrorUtil.preprocessPattern(pattern), matchedPattern);
1917
}
2018

0 commit comments

Comments
 (0)