setExiledCard only modifies exiledCard if card is not a token

master
melvin 2011-10-15 09:57:18 +08:00
parent 57f9cf65f8
commit c04cfeff5b
1 changed files with 4 additions and 1 deletions

View File

@ -539,7 +539,10 @@ public class MagicPermanent implements MagicSource,MagicTarget,Comparable<MagicP
}
public void setExiledCard(final MagicCard card) {
exiledCard = card;
//only non tokens can be set
if (!card.isToken()) {
exiledCard = card;
}
}