mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 19:59:54 -08:00
AI: improved game stability on blocking (related to #13290)
This commit is contained in:
parent
8aa432067a
commit
7035736a6c
3 changed files with 18 additions and 20 deletions
|
|
@ -822,7 +822,7 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
|
|||
// too few blockers
|
||||
if (attacker.getMinBlockedBy() > 1 && !blockers.isEmpty() && blockers.size() < attacker.getMinBlockedBy()) {
|
||||
for (UUID blockerId : new ArrayList<>(blockers)) {
|
||||
game.getCombat().removeBlocker(blockerId, game); // !
|
||||
game.getCombat().removeBlocker(blockerId, game);
|
||||
}
|
||||
blockers.clear();
|
||||
blockerOrder.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue