ChooseCardNameEffect.getStackDescription small fixes

This commit is contained in:
Northmoc
2024-11-23 17:12:02 -05:00
committed by Chris H
parent 4d21db94f9
commit 30e82c6b25

View File

@@ -27,12 +27,8 @@ public class ChooseCardNameEffect extends SpellAbilityEffect {
@Override
protected String getStackDescription(SpellAbility sa) {
final StringBuilder sb = new StringBuilder();
sb.append(Lang.joinHomogenous(getTargetPlayers(sa)));
sb.append("names a card.");
return sb.toString();
return Lang.joinHomogenous(getTargetPlayers(sa)) + " names a card.";
}
@Override
@@ -66,7 +62,7 @@ public class ChooseCardNameEffect extends SpellAbilityEffect {
if (!p.isInGame()) {
continue;
}
String chosen = "";
String chosen;
//This section was used for Momir Avatar, which no longer uses it - commented out 7/28/2021
//if (randomChoice) {
//String numericAmount = "X";