mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed a bug caused by the strange "equals" function of mana abilities (fixes Joiner Adept leaving the battlefield).
This commit is contained in:
@@ -278,6 +278,9 @@ abstract public class Ability_Mana extends Ability_Activated implements java.io.
|
||||
|
||||
Ability_Mana abm = (Ability_Mana) o;
|
||||
|
||||
if(abm.getType() != getType())
|
||||
return false;
|
||||
|
||||
return abm.toUnsuppressedString().equals(this.toUnsuppressedString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user