- This fix adds the trailing space character to the PrecostDesc and the CostDesc.

This commit is contained in:
jendave
2011-08-06 11:04:27 +00:00
parent fc1559fb91
commit 5d106c746c

View File

@@ -351,9 +351,9 @@ public class AbilityFactory {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
if (mapParams.containsKey("PrecostDesc")) if (mapParams.containsKey("PrecostDesc"))
sb.append(mapParams.get("PrecostDesc")); sb.append(mapParams.get("PrecostDesc")).append(" ");
if (mapParams.containsKey("CostDesc")) if (mapParams.containsKey("CostDesc"))
sb.append(mapParams.get("CostDesc")); sb.append(mapParams.get("CostDesc")).append(" ");
else sb.append(abCost.toString()); else sb.append(abCost.toString());
sb.append(mapParams.get("SpellDescription")); sb.append(mapParams.get("SpellDescription"));