mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Returning only a copy of netMana in ManaAbility. Try to fix issue #432.
This commit is contained in:
parent
a04354c046
commit
f7cc260219
1 changed files with 4 additions and 5 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue