- Fixed a bug caused by the strange "equals" function of mana abilities (fixes Joiner Adept leaving the battlefield).

This commit is contained in:
Sloth
2011-10-19 15:23:55 +00:00
parent 6aa9a8d56e
commit 0e33208bc7

View File

@@ -278,6 +278,9 @@ abstract public class Ability_Mana extends Ability_Activated implements java.io.
Ability_Mana abm = (Ability_Mana) o; Ability_Mana abm = (Ability_Mana) o;
if(abm.getType() != getType())
return false;
return abm.toUnsuppressedString().equals(this.toUnsuppressedString()); return abm.toUnsuppressedString().equals(this.toUnsuppressedString());
} }