mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
- Fixed #8694
This commit is contained in:
parent
79ac8671af
commit
ac25389d3b
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package mage.cards.d;
|
package mage.cards.d;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -93,7 +92,9 @@ public final class DeathMaskDuplicant extends CardImpl {
|
||||||
Player player = game.getPlayer(playerId);
|
Player player = game.getPlayer(playerId);
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
UUID exileId = CardUtil.getExileZoneId(game, source.getSourceId(), sourceObject.getZoneChangeCounter(game));
|
UUID exileId = CardUtil.getExileZoneId(game, source.getSourceId(), sourceObject.getZoneChangeCounter(game));
|
||||||
if (exileId != null) {
|
if (exileId != null
|
||||||
|
&& game.getState().getExile().getExileZone(exileId) != null
|
||||||
|
&& !game.getState().getExile().getExileZone(exileId).isEmpty()) {
|
||||||
for (UUID cardId : game.getState().getExile().getExileZone(exileId)) {
|
for (UUID cardId : game.getState().getExile().getExileZone(exileId)) {
|
||||||
Card card = game.getCard(cardId);
|
Card card = game.getCard(cardId);
|
||||||
if (card != null && card.isCreature(game)) {
|
if (card != null && card.isCreature(game)) {
|
||||||
|
|
Loading…
Reference in a new issue