Fixed that Expressions were inverted.
This commit is contained in:
@@ -29,7 +29,7 @@ public class NumberCondition implements ICondition
|
||||
@Override
|
||||
public boolean isValid(CompiledArguments args)
|
||||
{
|
||||
return op.matches(flipped ? args.get(flag) : number, flipped ? number : args.get(flag));
|
||||
return op.matches(flipped ? number : args.get(flag), flipped ? args.get(flag) : number);
|
||||
}
|
||||
|
||||
public static NumberCondition tryBuild(String arg)
|
||||
|
||||
Reference in New Issue
Block a user