Archiviert
1
0

Fix TablistManager

Dieser Commit ist enthalten in:
yoyosource 2021-06-28 17:27:29 +02:00
Ursprung 5637311be5
Commit 64c8af3064

Datei anzeigen

@ -72,7 +72,7 @@ public class TablistManager extends BasicListener {
private void calculateSize() { private void calculateSize() {
size = -1; size = -1;
size += playerMap.size() * 2 + ProxyServer.getInstance().getPlayers().size(); size += playerMap.size() * 2 + ProxyServer.getInstance().getPlayers().size();
size = (size + 19) / 20 + 1; size = (size + 19) / 20;
if(size > 5) size = 5; if(size > 5) size = 5;
} }