Skip to content

Commit

Permalink
fix: switch typo in ConditionAction (#5288)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert authored Oct 27, 2024
1 parent 13ba6db commit 974f68c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected boolean condition(Actor actor) throws ClassNotFoundException, NoSuchFi
break;
case "!":
case "!=":
passing = (Double) fieldValue == Double.parseDouble(secondValue);
passing = (Double) fieldValue != Double.parseDouble(secondValue);
break;
case "<=":
passing = ((Number) fieldValue).doubleValue() <= Double.parseDouble(secondValue);
Expand Down

0 comments on commit 974f68c

Please sign in to comment.