* Fixed bug that rule text of singletons like FlyingAbility were missing sometimes in permanents tooltiptext (fixes #453) .

This commit is contained in:
LevelX2 2014-07-27 02:00:07 +02:00
parent 7b8a6e3f46
commit 2e7219de2f
4 changed files with 13 additions and 6 deletions

View file

@ -795,7 +795,9 @@ public abstract class AbilityImpl implements Ability {
@Override
public void setRuleVisible(boolean ruleVisible) {
this.ruleVisible = ruleVisible;
if (!(this instanceof MageSingleton)) { // prevent to change singletons
this.ruleVisible = ruleVisible;
}
}
@Override