public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_) { this.field_178673_b = Lists.<ISpectatorMenuObject>newArrayList(); for (NetworkPlayerInfo networkplayerinfo : field_178674_a.sortedCopy(p_i45493_1_)) { if (networkplayerinfo.getGameType() != WorldSettings.GameType.SPECTATOR) { this.field_178673_b.add(new PlayerMenuObject(networkplayerinfo.getGameProfile())); } } }
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_) { this.items = Lists.<ISpectatorMenuObject>newArrayList(); for (NetworkPlayerInfo networkplayerinfo : PROFILE_ORDER.sortedCopy(p_i45493_1_)) { if (networkplayerinfo.getGameType() != GameType.SPECTATOR) { this.items.add(new PlayerMenuObject(networkplayerinfo.getGameProfile())); } } }