From 5b37b06ee30ad10a9aaf27bb3f684e69858a6ef0 Mon Sep 17 00:00:00 2001 From: Jess Date: Fri, 7 Jun 2024 03:25:36 +0100 Subject: [PATCH] jess try to handle strings properly challenge (impossible) --- .../src/main/java/com/baseband/client/feature/render/HUD.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/main/java/com/baseband/client/feature/render/HUD.java b/Client/src/main/java/com/baseband/client/feature/render/HUD.java index 4708391..8b56992 100644 --- a/Client/src/main/java/com/baseband/client/feature/render/HUD.java +++ b/Client/src/main/java/com/baseband/client/feature/render/HUD.java @@ -191,7 +191,7 @@ public class HUD extends Feature { if (showTPS && showPing) infoString += " | "; if (showPing) - infoString += "Ping: " + ServerDataManager.ping + (pingJitter ? (int) (Math.random() * pingJitterAmount) : 0) + " | Players: " + ServerDataManager.players + "/" + ServerDataManager.maxPlayers; + infoString += "Ping: " + (ServerDataManager.ping + (pingJitter ? (int) (Math.random() * pingJitterAmount) : 0)) + " | Players: " + ServerDataManager.players + "/" + ServerDataManager.maxPlayers; if(infoString.endsWith("\n")) infoString = infoString.substring(0, infoString.length() - 1); }