mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
[mage] fix for ExileFromGraveCost
This commit is contained in:
parent
e1210e15b5
commit
20efee44fb
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ public class ExileFromGraveCost extends CostImpl<ExileFromGraveCost> {
|
||||||
if (targets.choose(Outcome.Exile, controllerId, game)) {
|
if (targets.choose(Outcome.Exile, controllerId, game)) {
|
||||||
Player player = game.getPlayer(controllerId);
|
Player player = game.getPlayer(controllerId);
|
||||||
for (UUID targetId: targets.get(0).getTargets()) {
|
for (UUID targetId: targets.get(0).getTargets()) {
|
||||||
Card card = player.getHand().get(targetId, game);
|
Card card = player.getGraveyard().get(targetId, game);
|
||||||
if (card == null) {
|
if (card == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue