jess try to handle strings properly challenge (impossible)
This commit is contained in:
parent
502b735a32
commit
5b37b06ee3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue