From 58b7148de99ef6f2b675e2ee601be249b63aa6c0 Mon Sep 17 00:00:00 2001 From: ingmargoudt Date: Thu, 13 Apr 2017 07:50:11 +0200 Subject: [PATCH] fix for endreksahr --- .../common/ControlsPermanentsControllerTriggeredAbility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/abilities/common/ControlsPermanentsControllerTriggeredAbility.java b/Mage/src/main/java/mage/abilities/common/ControlsPermanentsControllerTriggeredAbility.java index 1aae08aba4..750f6a6a86 100644 --- a/Mage/src/main/java/mage/abilities/common/ControlsPermanentsControllerTriggeredAbility.java +++ b/Mage/src/main/java/mage/abilities/common/ControlsPermanentsControllerTriggeredAbility.java @@ -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