Fixed creatures that must attack being forced to attack players that have already lost the game
@@ -451,9 +451,15 @@ public class Combat implements Serializable, Copyable<Combat> {
mustAttack = true;
for (Ability ability : entry.getValue()) {
UUID defenderId = effect.mustAttackDefender(ability, game);
- if (defenderId != null && defenders.contains(defenderId)) {
+
+ if (defenderId != null) {
+ // creature is not forced to attack players that are no longer in the game
+ if (game.getPermanentOrLKIBattlefield(defenderId) == null && game.getPlayer(defenderId).hasLost()) {
+ return;
+ } else if (defenders.contains(defenderId)) {
defendersForcedToAttack.add(defenderId);
}
+ }
break;
}
}
