mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 08:51:33 +01:00
Undo 128 chats in scoreboard
This commit is contained in:
parent
5142c0015a
commit
6d0696b64c
@ -74,10 +74,8 @@ public class Scoreboard {
|
||||
int max;
|
||||
if(ServerVersion.isServerVersion(ServerVersion.V1_8)) {
|
||||
max = 16;
|
||||
} else if(ServerVersion.isServerVersionBelow(ServerVersion.V1_13)) {
|
||||
max = 32;
|
||||
} else {
|
||||
max = 128;
|
||||
max = 32;
|
||||
}
|
||||
if (formattedDisplayName.length() > max) {
|
||||
obj.setDisplayName(ChatColor.RED + "Too long...");
|
||||
|
Loading…
Reference in New Issue
Block a user