fix reversed intcompare

This commit is contained in:
ingmargoudt 2017-04-11 16:50:46 +02:00
parent cb693b5826
commit 60a325c43f

View file

@ -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