Merge pull request #3104 from ingmargoudt/compile_error_fix

fix for endreksahr
This commit is contained in:
ingmargoudt 2017-04-13 08:41:06 +02:00 committed by GitHub
commit 24bf3c8f77

View file

@ -69,7 +69,7 @@ public class ControlsPermanentsControllerTriggeredAbility extends StateTriggered
@Override
public boolean checkTrigger(GameEvent event, Game game) {
int inputValue = game.getBattlefield().countAll(filter, getControllerId(), game);
return ComparisonType.compare(value, type, inputValue);
return ComparisonType.compare(inputValue, type, value);
}
@Override