additional fix for commander colors from #12429

This commit is contained in:
Oleg Agafonov 2024-06-07 23:48:27 +04:00
parent 892ccddd35
commit a3194970ca

View file

@ -369,7 +369,7 @@ public class CardView extends SimpleCardView {
this.power = Integer.toString(card.getPower().getValue()); this.power = Integer.toString(card.getPower().getValue());
this.toughness = Integer.toString(card.getToughness().getValue()); this.toughness = Integer.toString(card.getToughness().getValue());
this.cardTypes = new ArrayList<>(card.getCardType()); this.cardTypes = new ArrayList<>(card.getCardType());
this.color = card.getColor(null); this.color = card.getColor(null).copy();
this.superTypes = new ArrayList<>(card.getSuperType()); this.superTypes = new ArrayList<>(card.getSuperType());
this.subTypes = card.getSubtype().copy(); this.subTypes = card.getSubtype().copy();
this.rules = new ArrayList<>(card.getRules()); this.rules = new ArrayList<>(card.getRules());