From b25c1ded7bf009de9c33ef80e6112e7db3559b7e Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 29 May 2015 00:26:51 +0200 Subject: [PATCH] Fixed text with html that couldn't display html. --- Mage/src/mage/abilities/AbilityImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/AbilityImpl.java b/Mage/src/mage/abilities/AbilityImpl.java index 5b18a0db8e..50f08e2619 100644 --- a/Mage/src/mage/abilities/AbilityImpl.java +++ b/Mage/src/mage/abilities/AbilityImpl.java @@ -334,7 +334,7 @@ public abstract class AbilityImpl implements Ability { } if (getTargets().size() > 0 && getTargets().chooseTargets(getEffects().get(0).getOutcome(), this.controllerId, this, game) == false) { if ((variableManaCost != null || announceString != null) && !game.isSimulation()) { - game.informPlayer(controller, new StringBuilder(sourceObject != null ? sourceObject.getLogName(): "").append(": no valid targets with this value of X").toString()); + game.informPlayer(controller, (sourceObject != null ? sourceObject.getIdName(): "") + ": no valid targets with this value of X"); } return false; // when activation of ability is canceled during target selection }