Returning only a copy of netMana in ManaAbility. Try to fix issue #432.

This commit is contained in:
LevelX2 2014-08-08 00:14:46 +02:00
parent a04354c046
commit f7cc260219

View file

@ -28,16 +28,15 @@
package mage.abilities.mana; package mage.abilities.mana;
import mage.constants.AbilityType; import java.util.UUID;
import mage.constants.Zone;
import mage.Mana; import mage.Mana;
import mage.abilities.ActivatedAbilityImpl; import mage.abilities.ActivatedAbilityImpl;
import mage.abilities.costs.Cost; import mage.abilities.costs.Cost;
import mage.abilities.effects.common.ManaEffect; import mage.abilities.effects.common.ManaEffect;
import mage.constants.AbilityType;
import mage.constants.Zone;
import mage.game.Game; import mage.game.Game;
import java.util.UUID;
/** /**
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
@ -72,6 +71,6 @@ public abstract class ManaAbility extends ActivatedAbilityImpl {
} }
public Mana getNetMana(Game game) { public Mana getNetMana(Game game) {
return netMana; return netMana.copy();
} }
} }