diff --git a/src/main/java/org/skriptlang/skript/lang/entry/util/ExpressionEntryData.java b/src/main/java/org/skriptlang/skript/lang/entry/util/ExpressionEntryData.java index e707d3337d3..42e964918f9 100644 --- a/src/main/java/org/skriptlang/skript/lang/entry/util/ExpressionEntryData.java +++ b/src/main/java/org/skriptlang/skript/lang/entry/util/ExpressionEntryData.java @@ -69,7 +69,7 @@ public ExpressionEntryData( @SuppressWarnings("unchecked") protected Expression getValue(String value) { Expression expression; - try (ParseLogHandler log = new ParseLogHandler()) { + try (ParseLogHandler log = new ParseLogHandler().start()) { expression = new SkriptParser(value, flags, ParseContext.DEFAULT) .parseExpression(returnType); if (expression == null) // print an error if it couldn't parse