Counter display - don't display counters if 0 amount.

This commit is contained in:
LevelX2 2014-08-22 08:22:52 +02:00
parent 683082eaa4
commit 4990bdc9c9

View file

@ -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) {