forked from External/mage
Revert "simplify vanishing implementation"
This reverts commit 399b65effb.
This commit is contained in:
parent
44a2b06690
commit
3313f7affb
22 changed files with 333 additions and 193 deletions
|
|
@ -1076,11 +1076,10 @@ public abstract class AbilityImpl implements Ability {
|
|||
}
|
||||
|
||||
@Override
|
||||
public AbilityImpl setRuleVisible(boolean ruleVisible) {
|
||||
public void 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