1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-12 01:01:04 -09:00

[mage] fix for ExileFromGraveCost

This commit is contained in:
magenoxx 2010-12-24 16:54:17 +03:00
parent e1210e15b5
commit 20efee44fb

View file

@ -63,7 +63,7 @@ public class ExileFromGraveCost extends CostImpl<ExileFromGraveCost> {
if (targets.choose(Outcome.Exile, controllerId, game)) {
Player player = game.getPlayer(controllerId);
for (UUID targetId: targets.get(0).getTargets()) {
Card card = player.getHand().get(targetId, game);
Card card = player.getGraveyard().get(targetId, game);
if (card == null) {
return false;
}