Fixed some more possible null pointer exceptions.

This commit is contained in:
LevelX2 2016-06-18 14:46:35 +02:00
parent 7e9d285a49
commit e74f5995cb
6 changed files with 20 additions and 11 deletions

View file

@ -487,6 +487,9 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
attackerPerms.add(game.getPermanent(attackerId));
}
UUID attackerId = player.chooseAttackerOrder(attackerPerms, game);
if (!player.isInGame()) {
break;
}
attackerOrder.add(attackerId);
attackerList.remove(attackerId);
}