Banding arrow fix
*/
package mage.view;
+import java.util.*;
+import java.util.stream.Collectors;
import mage.MageObject;
import mage.ObjectColor;
import mage.abilities.Abilities;
@@ -51,9 +53,6 @@ import mage.target.Target;
import mage.target.Targets;
import mage.util.SubTypeList;
-import java.util.*;
-import java.util.stream.Collectors;
-
/**
* @author BetaSteward_at_googlemail.com
*/
@@ -354,16 +353,16 @@ public class CardView extends SimpleCardView {
if (game != null) {
if (permanent.getCounters(game) != null && !permanent.getCounters(game).isEmpty()) {
this.loyalty = Integer.toString(permanent.getCounters(game).getCount(CounterType.LOYALTY));
- this.pairedCard = permanent.getPairedCard() != null ? permanent.getPairedCard().getSourceId() : null;
- this.bandedCards = new ArrayList<>();
- for (UUID bandedCard : permanent.getBandedCards()) {
- bandedCards.add(bandedCard);
- }
counters = new ArrayList<>();
for (Counter counter : permanent.getCounters(game).values()) {
counters.add(new CounterView(counter));
}
}
+ this.pairedCard = permanent.getPairedCard() != null ? permanent.getPairedCard().getSourceId() : null;
+ this.bandedCards = new ArrayList<>();
+ for (UUID bandedCard : permanent.getBandedCards()) {
+ bandedCards.add(bandedCard);
+ }
if (!permanent.getControllerId().equals(permanent.getOwnerId())) {
controlledByOwner = false;
}
