mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Fixed bug that rule text of singletons like FlyingAbility were missing sometimes in permanents tooltiptext (fixes #453) .
This commit is contained in:
parent
7b8a6e3f46
commit
2e7219de2f
4 changed files with 13 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue