diff --git a/Mage/src/mage/counters/Counters.java b/Mage/src/mage/counters/Counters.java index fd304bea44..6b1aca15ed 100644 --- a/Mage/src/mage/counters/Counters.java +++ b/Mage/src/mage/counters/Counters.java @@ -75,18 +75,15 @@ public class Counters extends HashMap implements Serializable { } public void removeCounter(String name) { - if (this.containsKey(name)) { - Counter counter = this.get(name); - counter.remove(); - if (counter.getCount() == 0) { - this.remove(name); - } - } + removeCounter(name, 1); } public void removeCounter(CounterType counterType, int amount) { if (this.containsKey(counterType.getName())) { get(counterType.getName()).remove(amount); + if (get(counterType.getName()).count == 0) { + this.remove(counterType.getName()); + } } }