Restored 32 chars scorebord on 1.8-1.12

This commit is contained in:
Fabrizio La Rosa 2020-08-04 00:24:43 +02:00
parent c94860913e
commit 1938545a9c

View File

@ -64,13 +64,10 @@ class Board {
cache.put(line, string);
ScoreboardLine parts;
if (ServerVersion.isServerVersionAbove(ServerVersion.V1_8)) {
parts = convertIntoPieces(string, 16);
} else if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_13)){
if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_13)){
parts = convertIntoPieces(string, 64);
} else {
parts = convertIntoPieces(string, 8);
parts = convertIntoPieces(string, 16);
}
t.setPrefix(parts.getPrefix());