forked from External/mage
simplify vanishing implementation
This commit is contained in:
parent
c07e6be92b
commit
399b65effb
22 changed files with 193 additions and 333 deletions
|
|
@ -1076,10 +1076,11 @@ public abstract class AbilityImpl implements Ability {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setRuleVisible(boolean ruleVisible) {
|
||||
public AbilityImpl setRuleVisible(boolean ruleVisible) {
|
||||
if (!(this instanceof MageSingleton)) { // prevent to change singletons
|
||||
this.ruleVisible = ruleVisible;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue