* Changes for getting correct name of object.

This commit is contained in:
LevelX2 2014-09-23 17:20:28 +02:00
parent fa15ccd41f
commit e64b5fb67c
4 changed files with 4 additions and 4 deletions

View file

@ -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();
}