Revert "simplify vanishing implementation"

This reverts commit 399b65effb.
This commit is contained in:
theelk801 2023-08-06 19:25:05 -04:00
parent 44a2b06690
commit 3313f7affb
22 changed files with 333 additions and 193 deletions

View file

@ -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