mirror of
https://github.com/magefree/mage.git
synced 2026-01-20 02:10:06 -08:00
* Changes for getting correct name of object.
This commit is contained in:
parent
fa15ccd41f
commit
e64b5fb67c
4 changed files with 4 additions and 4 deletions
|
|
@ -816,7 +816,7 @@ public abstract class AbilityImpl implements Ability {
|
|||
logger.warn("Could get no object: " + this.toString());
|
||||
}
|
||||
return new StringBuilder(" activates: ")
|
||||
.append(object != null ? this.formatRule(modes.getText(), object.getName()) :modes.getText())
|
||||
.append(object != null ? this.formatRule(modes.getText(), object.getLogName()) :modes.getText())
|
||||
.append(" from ")
|
||||
.append(getMessageText(game)).toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue