Archiviert
1
0

Prevent ConcurrentModException

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-10-25 09:16:01 +02:00
Ursprung b4d22eaf28
Commit 87641dbfc2

Datei anzeigen

@ -88,7 +88,7 @@ public class TablistManager extends BasicListener {
//Calculate server-player-map //Calculate server-player-map
tablist = new TablistGroup(true, ""); tablist = new TablistGroup(true, "");
TablistGroup bau = new TablistGroup(false, "Bau"); TablistGroup bau = new TablistGroup(false, "Bau");
for (ServerInfo server : ProxyServer.getInstance().getServers().values()){ for (ServerInfo server : ProxyServer.getInstance().getServersCopy().values()){
if(server.getPlayers().isEmpty()) if(server.getPlayers().isEmpty())
continue; continue;