Simulation: fix for Pack Rat tokens (bad diff because of missing CMC)

This commit is contained in:
tool4EvEr
2021-12-26 12:45:28 +01:00
parent ee2aef95da
commit c1d796754a

View File

@@ -233,10 +233,13 @@ public class GameCopier {
if (card.isPaired()) {
otherCard.setPairedWith(cardMap.get(card.getPairedWith()));
}
if (card.getCopiedPermanent() != null) {
otherCard.setCopiedPermanent(CardFactory.copyCard(card.getCopiedPermanent(), false));
}
// TODO: Verify that the above relationships are preserved bi-directionally or not.
}
}
private static final boolean USE_FROM_PAPER_CARD = true;
private Card createCardCopy(Game newGame, Player newOwner, Card c) {
if (c.isToken() && !c.isImmutable()) {