forked from External/mage
changes to support multiplayer
This commit is contained in:
parent
d6989797ba
commit
2d5af63cba
41 changed files with 586 additions and 204 deletions
|
|
@ -184,7 +184,7 @@ public class GameState implements Serializable {
|
|||
public PlayerList getPlayerList(UUID playerId) {
|
||||
PlayerList playerList = new PlayerList();
|
||||
for (Player player: players.values()) {
|
||||
if (!player.hasLeft())
|
||||
if (!player.hasLeft() && !player.hasLost())
|
||||
playerList.add(player);
|
||||
}
|
||||
playerList.setCurrent(playerId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue