Remove some obsolete stuff (#2685)

* Remove obsolete code

* Fix uncounterable being invisible

* Fix CantHappen requiring choice
This commit is contained in:
tool4ever
2023-03-15 13:37:22 +01:00
committed by GitHub
parent 9bf972aa70
commit 9b47a7fee2
16 changed files with 62 additions and 44 deletions

View File

@@ -590,7 +590,7 @@ public class ComputerUtilMana {
final Mana mana = CostPayment.getMana(ai, part, sa, cost.getSourceRestriction(), (byte) -1, cost.getXManaCostPaidByColor());
if (mana != null) {
if (ai.getManaPool().tryPayCostWithMana(sa, cost, mana, false)) {
manaSpentToPay.add(0, mana);
manaSpentToPay.add(mana);
}
}
}