forked from External/mage
Fixed to do the check of existing abilities always by rule text. Added a new abilities.containsRule() method to check by rule, that's sometimes needed. To check always by rule text leaded to bugs during applying copy effects.
This commit is contained in:
parent
768cf365b9
commit
391c3db02e
5 changed files with 46 additions and 2 deletions
|
|
@ -372,4 +372,9 @@ public class StackAbility implements StackObject, Ability {
|
|||
public void setRuleAtTheTop(boolean ruleAtTheTop) {
|
||||
this.ability.setRuleAtTheTop(ruleAtTheTop);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UUID getOriginalId() {
|
||||
return this.ability.getOriginalId();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue