Skip to content

Commit

Permalink
fix: switch typo in ConditionAction
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert committed Oct 27, 2024
1 parent 9229926 commit 5e6879f
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 5e6879f

Please sign in to comment.