mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed the second, third, etc. AI never blocking anything in multiplayer when multiple players are attacked at the same time.
This commit is contained in:
@@ -151,7 +151,7 @@ public class AiBlockController {
|
||||
for (final Card c : attackers) {
|
||||
sortedAttackers.add(c);
|
||||
}
|
||||
} else {
|
||||
} else if (defender instanceof Player && defender.equals(ai)){
|
||||
firstAttacker = combat.getAttackersOf(defender);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user