Small fixes

This commit is contained in:
tool4EvEr
2021-06-15 16:36:33 +02:00
parent 43c39ec231
commit 001106ea7b
12 changed files with 10 additions and 17 deletions

View File

@@ -271,7 +271,7 @@ public abstract class InputPayMana extends InputSyncronizedBase {
}
// Store some information about color costs to help with any mana choices
if (colorNeeded == 0) { // only colorless left
if (colorNeeded == 0) { // only colorless left
if (saPaidFor.getHostCard() != null && saPaidFor.getHostCard().hasSVar("ManaNeededToAvoidNegativeEffect")) {
String[] negEffects = saPaidFor.getHostCard().getSVar("ManaNeededToAvoidNegativeEffect").split(",");
for (String negColor : negEffects) {

View File

@@ -72,7 +72,6 @@ public class InputPayManaOfCostPayment extends InputPayMana {
msg.append(messagePrefix).append("\n");
}
if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.UI_DETAILED_SPELLDESC_IN_PROMPT)) {
// msg.append(saPaidFor.getStackDescription().replace("(Targeting ERROR)", ""));
if (saPaidFor.isSpell()) {
msg.append(saPaidFor.getStackDescription().replace("(Targeting ERROR)", "")).append("\n\n");
} else {