Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
1c3208934d
Commit
eb8b5e3bc6
@ -199,7 +199,7 @@ public class TablistManager extends BasicListener {
|
|||||||
public int slimSize(ProxiedPlayer viewer) {
|
public int slimSize(ProxiedPlayer viewer) {
|
||||||
int size = subTablists.stream().mapToInt(tPart -> viewer == null ? tPart.size() : tPart.slimSize(viewer)).sum();
|
int size = subTablists.stream().mapToInt(tPart -> viewer == null ? tPart.size() : tPart.slimSize(viewer)).sum();
|
||||||
if(withHeaders)
|
if(withHeaders)
|
||||||
size += subTablists.size() + Math.min(subTablists.size() - 1, 0);
|
size += subTablists.size() * 2;
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren