mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08: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
|
||||
public boolean moveCardsToExile(Card card, Ability source, Game game, boolean withName, UUID exileId, String exileZoneName) {
|
||||
Set<Card> cards = new HashSet<>();
|
||||
cards.add(card);
|
||||
if (card != null) {
|
||||
cards.add(card);
|
||||
}
|
||||
return moveCardsToExile(cards, source, game, withName, exileId, exileZoneName);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue