diff --git a/src/main/java/org/skriptlang/reflect/syntax/event/EventSyntaxInfo.java b/src/main/java/org/skriptlang/reflect/syntax/event/EventSyntaxInfo.java index 9912cba..e22039b 100644 --- a/src/main/java/org/skriptlang/reflect/syntax/event/EventSyntaxInfo.java +++ b/src/main/java/org/skriptlang/reflect/syntax/event/EventSyntaxInfo.java @@ -13,8 +13,6 @@ protected EventSyntaxInfo(Script script, String pattern, int matchedPattern) { } public static EventSyntaxInfo create(Script script, String pattern, int matchedPattern) { - pattern = "[on] " + pattern; - return new EventSyntaxInfo(script, SkriptMirrorUtil.preprocessPattern(pattern), matchedPattern); }