- Fixed stack descriptions.

This commit is contained in:
Sloth
2012-11-08 16:00:42 +00:00
parent 5f14df2479
commit 4d7b7ac911

View File

@@ -60,12 +60,9 @@ import forge.game.player.Player;
// Own description // Own description
String stackDesc = params.get("StackDescription"); String stackDesc = params.get("StackDescription");
String spellDesc = params.get("SpellDescription");
if ( stackDesc != null ) { if ( stackDesc != null ) {
if ( !"None".equalsIgnoreCase(stackDesc) ) // by typing "none" they want to suppress output if ( !"None".equalsIgnoreCase(stackDesc) ) // by typing "none" they want to suppress output
sb.append( stackDesc.replace("CARDNAME", sa.getSourceCard().getName())); sb.append( stackDesc.replace("CARDNAME", sa.getSourceCard().getName()));
} else if ( spellDesc != null ) {
sb.append( spellDesc.replace("CARDNAME", sa.getSourceCard().getName()) );
} else } else
sb.append(this.getStackDescription(sa)); sb.append(this.getStackDescription(sa));