diff --git a/Mage/src/mage/abilities/effects/common/continious/CommanderManaReplacementEffect.java b/Mage/src/mage/abilities/effects/common/continious/CommanderManaReplacementEffect.java index e3e8330d61..dea548898d 100644 --- a/Mage/src/mage/abilities/effects/common/continious/CommanderManaReplacementEffect.java +++ b/Mage/src/mage/abilities/effects/common/continious/CommanderManaReplacementEffect.java @@ -112,7 +112,6 @@ public class CommanderManaReplacementEffect extends ReplacementEffectImpl { } mana.setWhite(0); } - ((ManaEvent) event).setMana(mana); return false; } diff --git a/Mage/src/mage/game/events/ManaEvent.java b/Mage/src/mage/game/events/ManaEvent.java index 13717c94dd..43aed458e2 100644 --- a/Mage/src/mage/game/events/ManaEvent.java +++ b/Mage/src/mage/game/events/ManaEvent.java @@ -48,8 +48,4 @@ public class ManaEvent extends GameEvent { return mana; } - public void setMana(Mana mana) { - this.mana = mana; - } - } diff --git a/Mage/src/mage/players/ManaPool.java b/Mage/src/mage/players/ManaPool.java index c53b72a238..c6c3610a60 100644 --- a/Mage/src/mage/players/ManaPool.java +++ b/Mage/src/mage/players/ManaPool.java @@ -302,7 +302,8 @@ public class ManaPool implements Serializable { return m; } - public void addMana(Mana mana, Game game, Ability source) { + public void addMana(Mana manaToAdd, Game game, Ability source) { + Mana mana = manaToAdd.copy(); if (!game.replaceEvent(new ManaEvent(EventType.ADD_MANA, source.getId(), source.getSourceId(), source.getControllerId(), mana))) { if (mana instanceof ConditionalMana) { this.manaItems.add(new ManaPoolItem((ConditionalMana)mana, source.getSourceId()));