From e7a143e18119ff740a2419fb21d55dce25530cef Mon Sep 17 00:00:00 2001 From: Sloth Date: Sun, 18 Aug 2013 08:12:48 +0000 Subject: [PATCH] - Fixed Exalted Dragon. --- src/main/java/forge/game/player/HumanPlay.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/forge/game/player/HumanPlay.java b/src/main/java/forge/game/player/HumanPlay.java index a36190719b6..ee423c71d89 100644 --- a/src/main/java/forge/game/player/HumanPlay.java +++ b/src/main/java/forge/game/player/HumanPlay.java @@ -304,11 +304,11 @@ public class HumanPlay { } final String orString = prompt != null ? "" : " (or: " + sourceAbility.getStackDescription() + ")"; - if (parts.isEmpty() || costPart.getAmount().equals("0")) { + if (parts.isEmpty() || (costPart.getAmount().equals("0") && parts.size() < 2)) { return GuiDialog.confirm(source, "Do you want to pay 0?" + orString); } // 0 mana costs were slipping through because CostPart.getAmount returns 1 - else if (costPart instanceof CostPartMana ) { + else if (costPart instanceof CostPartMana && parts.size() < 2) { if (((CostPartMana) costPart).getManaToPay().isZero()) { return GuiDialog.confirm(source, "Do you want to pay 0?" + orString); }