- Reuse AiBlockController.orderBlockers

This commit is contained in:
Agetian
2025-10-08 10:47:57 +03:00
committed by Chris H
parent 6152933766
commit 29fe1266d7

View File

@@ -2050,7 +2050,7 @@ public class ComputerUtilCombat {
final boolean legacyOrderCombatants = self.getGame().getRules().hasOrderCombatants();
final CardCollection orderedBlockers = new CardCollection(block);
if (!legacyOrderCombatants) {
ComputerUtilCard.sortByEvaluateCreature(orderedBlockers); // assume sorted in case the legacy option is enabled
AiBlockController.orderBlockers(attacker, orderedBlockers); // assume sorted in case the legacy option is enabled
}
if (orderedBlockers.size() == 1) {