Fix TPS bar to 1 decimal
Dieser Commit ist enthalten in:
Ursprung
3c840dfde1
Commit
8bd88b5674
@ -52,7 +52,7 @@ public class CommandInfo implements CommandExecutor {
|
|||||||
|
|
||||||
float[] roundedTps = new float[3];
|
float[] roundedTps = new float[3];
|
||||||
for(int i = 0; i < tps.length; i++) {
|
for(int i = 0; i < tps.length; i++) {
|
||||||
roundedTps[i] = tps[i] > 20.0D ? 20.0F : Math.round(tps[i]);
|
roundedTps[i] = tps[i] > 20.0D ? 20.0F : Math.round(tps[i] * 10) / 10f;
|
||||||
}
|
}
|
||||||
return roundedTps;
|
return roundedTps;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren