Fixed: DisconnectedPlayer and ReconnectPlayer apply with minimodel not initialized, disconnection countdown when the game is ended. Fixed: the player is now removed from order if it was added before.
This commit is contained in:
@@ -70,7 +70,9 @@ public abstract class OrderLogicCard implements Serializable {
|
||||
playerList=new ArrayList<>();
|
||||
|
||||
}
|
||||
playerList.removeIf(x->player.getUserName().equals(x.player.getUserName()));
|
||||
playerList.add(new OrderPlayer(player,false));
|
||||
players.removeIf(x->player.getUserName().equals(x.getUserName()));
|
||||
players.add(player);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user