mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Choose Protection type wasn't checking if any threats existed
This commit is contained in:
@@ -642,7 +642,7 @@ public class PlayerControllerAi extends PlayerController {
|
||||
threats = combat.getAttackersBlockedBy(toSave);
|
||||
}
|
||||
}
|
||||
if (threats != null) {
|
||||
if (threats != null && !threats.isEmpty()) {
|
||||
ComputerUtilCard.sortByEvaluateCreature(threats);
|
||||
String s = ProtectAi.toProtectFrom(threats.get(0), sa);
|
||||
if (s != null) {
|
||||
|
||||
Reference in New Issue
Block a user