Skip to content

Commit

Permalink
Fix Logging Issues In ExpressionEntryData (#6081)
Browse files Browse the repository at this point in the history
Fix duplicate logging
  • Loading branch information
APickledWalrus authored Oct 1, 2023
1 parent 613a067 commit be77015
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public ExpressionEntryData(
@SuppressWarnings("unchecked")
protected Expression<? extends T> getValue(String value) {
Expression<? extends T> 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
Expand Down

0 comments on commit be77015

Please sign in to comment.