mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28: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) {
|
for (final Card c : attackers) {
|
||||||
sortedAttackers.add(c);
|
sortedAttackers.add(c);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (defender instanceof Player && defender.equals(ai)){
|
||||||
firstAttacker = combat.getAttackersOf(defender);
|
firstAttacker = combat.getAttackersOf(defender);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user