fix "*" position on tps
This commit is contained in:
parent
22f69ea5a0
commit
511550db0c
@ -51,7 +51,7 @@ public class TpsMonitor implements EventListener {
|
|||||||
public static String getFormattedTPS() {
|
public static String getFormattedTPS() {
|
||||||
float tps = Math.max(calculateServerTPS(), 0);
|
float tps = Math.max(calculateServerTPS(), 0);
|
||||||
|
|
||||||
String tpsFormatted = tps > 20.00 ? "20.00*" : NumberUtils.format(tps);
|
String tpsFormatted = tps > 20.00 ? "*20.00" : NumberUtils.format(tps);
|
||||||
if (tps > 18) {
|
if (tps > 18) {
|
||||||
tpsFormatted = "§a" + tpsFormatted;
|
tpsFormatted = "§a" + tpsFormatted;
|
||||||
} else if (tps > 15) {
|
} else if (tps > 15) {
|
||||||
|
Reference in New Issue
Block a user