changes to support multiplayer

This commit is contained in:
BetaSteward 2010-05-17 03:08:18 +00:00
parent d6989797ba
commit 2d5af63cba
41 changed files with 586 additions and 204 deletions

View file

@ -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);