SteamWar/BungeeCore
Archiviert
13
2

Update TablistManager
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2021-12-22 11:38:00 +01:00
Ursprung 02883f2bea
Commit 6e6cf76479

Datei anzeigen

@ -208,8 +208,10 @@ public class TablistManager extends BasicListener {
size += slimSize; size += slimSize;
if (slimSize == 0) removeFooter = true; if (slimSize == 0) removeFooter = true;
} }
if (withHeaders) size += 2; // The 2 is for the header and footer if (withHeaders) {
if (removeFooter) size--; // The last one has no footer size += 2; // The 2 is for the header and footer
if (removeFooter) size--; // The last one has no footer
}
} }
return size; return size;
} }