mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* King Narfi's Betrayal - fixed rollback error on no targets for exile;
This commit is contained in:
parent
57ee01426f
commit
65ad97ced5
1 changed files with 3 additions and 1 deletions
|
@ -4180,7 +4180,9 @@ public abstract class PlayerImpl implements Player, Serializable {
|
||||||
@Override
|
@Override
|
||||||
public boolean moveCardsToExile(Card card, Ability source, Game game, boolean withName, UUID exileId, String exileZoneName) {
|
public boolean moveCardsToExile(Card card, Ability source, Game game, boolean withName, UUID exileId, String exileZoneName) {
|
||||||
Set<Card> cards = new HashSet<>();
|
Set<Card> cards = new HashSet<>();
|
||||||
cards.add(card);
|
if (card != null) {
|
||||||
|
cards.add(card);
|
||||||
|
}
|
||||||
return moveCardsToExile(cards, source, game, withName, exileId, exileZoneName);
|
return moveCardsToExile(cards, source, game, withName, exileId, exileZoneName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue