mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
fix reversed intcompare
This commit is contained in:
parent
cb693b5826
commit
60a325c43f
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ public abstract class IntComparePredicate<T extends MageObject> implements Predi
|
|||
@Override
|
||||
public final boolean apply(T input, Game game) {
|
||||
int inputValue = getInputValue(input);
|
||||
return CountType.compare(value, type, inputValue);
|
||||
return CountType.compare(inputValue, type, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue