From 0cb92e693611b13fb136e0bb63d347bc436c87ec Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 7 Sep 2015 07:41:33 +0200 Subject: [PATCH] Fixed a bug of DiscardsACardOpponentTriggeredAbility. --- .../abilities/common/DiscardsACardOpponentTriggeredAbility.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mage/src/mage/abilities/common/DiscardsACardOpponentTriggeredAbility.java b/Mage/src/mage/abilities/common/DiscardsACardOpponentTriggeredAbility.java index f922f325ee..d6dc5bfc45 100644 --- a/Mage/src/mage/abilities/common/DiscardsACardOpponentTriggeredAbility.java +++ b/Mage/src/mage/abilities/common/DiscardsACardOpponentTriggeredAbility.java @@ -53,6 +53,8 @@ public class DiscardsACardOpponentTriggeredAbility extends TriggeredAbilityImpl effect.setTargetPointer(new FixedTarget(event.getPlayerId())); } break; + case NONE: + break; default: throw new UnsupportedOperationException(setTargetPointer.toString() + " not supported for this ability."); }