Archiviert
1
0

Fix TablistManager

Dieser Commit ist enthalten in:
yoyosource 2021-06-25 16:41:43 +02:00
Ursprung 1c9bd9fcff
Commit 11f61f34cd

Datei anzeigen

@ -219,7 +219,8 @@ public class TablistManager extends BasicListener {
i = update(currentServer, players, i); i = update(currentServer, players, i);
} }
setSize(Math.max((i + 19) / 20, 5), 20); // Shrink Down
setSize(Math.min((i + 19) / 20, 4), 20);
finish(i); finish(i);
}catch(IndexOutOfBoundsException | NullPointerException e){ }catch(IndexOutOfBoundsException | NullPointerException e){
//Ignore IndexOutOfBoundsException //Ignore IndexOutOfBoundsException