Fix color choice

This commit is contained in:
tool4EvEr
2022-10-29 12:48:59 +02:00
parent c14df1832a
commit f40a26f52c
3 changed files with 8 additions and 7 deletions

View File

@@ -8,7 +8,6 @@ import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.stream.Collectors;
import forge.card.mana.ManaCost;
import org.apache.commons.lang3.StringUtils;
@@ -1082,8 +1081,7 @@ public class ComputerUtilCard {
//chosen.add(MagicColor.Constant.GREEN);
chosen.add(getMostProminentColor(ai.getAllCards(), colorChoices));
}
//convert to proper case same with the colorChoices..
return chosen.stream().map(s -> Character.toUpperCase(s.charAt(0)) + s.substring(1)).collect(Collectors.toList());
return chosen;
}
public static boolean useRemovalNow(final SpellAbility sa, final Card c, final int dmg, ZoneType destination) {