mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed possible min>max bug caused by modular.
This commit is contained in:
@@ -3264,7 +3264,7 @@ public class CardFactoryUtil {
|
|||||||
if (!aiChoices.isEmpty()) {
|
if (!aiChoices.isEmpty()) {
|
||||||
card2 = ComputerUtilCard.getBestCreatureAI(aiChoices);
|
card2 = ComputerUtilCard.getBestCreatureAI(aiChoices);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!choices.isEmpty()){
|
||||||
InputSelectCards inp = new InputSelectCardsFromList(1, 1, choices);
|
InputSelectCards inp = new InputSelectCardsFromList(1, 1, choices);
|
||||||
inp.setCancelAllowed(true);
|
inp.setCancelAllowed(true);
|
||||||
inp.setMessage("Select target artifact creature to give it +1/+1 counters from the dead " + card);
|
inp.setMessage("Select target artifact creature to give it +1/+1 counters from the dead " + card);
|
||||||
|
|||||||
Reference in New Issue
Block a user