mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-10 01:38:05 +01:00
Restored 32 chars scorebord on 1.8-1.12
This commit is contained in:
parent
c94860913e
commit
1938545a9c
@ -64,13 +64,10 @@ class Board {
|
|||||||
cache.put(line, string);
|
cache.put(line, string);
|
||||||
|
|
||||||
ScoreboardLine parts;
|
ScoreboardLine parts;
|
||||||
|
if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_13)){
|
||||||
if (ServerVersion.isServerVersionAbove(ServerVersion.V1_8)) {
|
|
||||||
parts = convertIntoPieces(string, 16);
|
|
||||||
} else if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_13)){
|
|
||||||
parts = convertIntoPieces(string, 64);
|
parts = convertIntoPieces(string, 64);
|
||||||
} else {
|
} else {
|
||||||
parts = convertIntoPieces(string, 8);
|
parts = convertIntoPieces(string, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
t.setPrefix(parts.getPrefix());
|
t.setPrefix(parts.getPrefix());
|
||||||
|
Loading…
Reference in New Issue
Block a user