SteamWar/SpigotCore
Archiviert
13
0
Dieser Commit ist enthalten in:
Lixfel 2020-11-07 11:04:54 +01:00
Ursprung 00c7ce90a8
Commit b0848d3e78

Datei anzeigen

@ -70,7 +70,7 @@ public class TPSWatcher {
} }
public double getTPSUnlimited() { public double getTPSUnlimited() {
return getTPS(TPSType.ONE_SECOND); return getTPSUnlimited(TPSType.ONE_SECOND);
} }
public double getTPS(TPSType tpsType) { public double getTPS(TPSType tpsType) {
@ -124,7 +124,7 @@ public class TPSWatcher {
} }
private double round(double d) { private double round(double d) {
return Math.min(Math.round(d * 10) / 10.0, 20); return Math.max(Math.round(d * 10) / 10.0, 20.0);
} }
private double roundUnlimited(double d) { private double roundUnlimited(double d) {