fix "*" position on tps

This commit is contained in:
Lee 2023-03-08 10:40:42 +00:00
parent 22f69ea5a0
commit 511550db0c

@ -51,7 +51,7 @@ public class TpsMonitor implements EventListener {
public static String getFormattedTPS() {
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) {
tpsFormatted = "§a" + tpsFormatted;
} else if (tps > 15) {