From 4990bdc9c9ad227e21d4316f6997a0e21bc5cb4a Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 22 Aug 2014 08:22:52 +0200 Subject: [PATCH] Counter display - don't display counters if 0 amount. --- Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java index 3358fbefb9..df65006363 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java @@ -830,6 +830,9 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti loyaltyCounterLabel.setVisible(false); otherCounterLabel.setVisible(false); for (CounterView counterView:card.getCounters()) { + if (counterView.getCount() == 0) { + continue; + } switch(counterView.getName()) { case "+1/+1": if (counterView.getCount() != plusCounter) {