mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed stack descriptions.
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user