mirror of
https://github.com/correl/mage.git
synced 2024-12-28 11:14:13 +00:00
* Mox Diamond - Fixed a bug that the card disappeard if no land was sacrificed.
This commit is contained in:
parent
c13b16fa84
commit
a638fcb313
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class MoxDiamondReplacementEffect extends ReplacementEffectImpl {
|
||||||
player.discard(game.getCard(target.getFirstTarget()), source, game);
|
player.discard(game.getCard(target.getFirstTarget()), source, game);
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
Permanent permanent = game.getPermanentEntering(event.getTargetId());
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
player.moveCards(permanent, Zone.GRAVEYARD, source, game);
|
player.moveCards(permanent, Zone.GRAVEYARD, source, game);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue