diff --git a/SpigotCore_Main/src/de/steamwar/core/TPSWatcher.java b/SpigotCore_Main/src/de/steamwar/core/TPSWatcher.java index b805393..9b36d29 100644 --- a/SpigotCore_Main/src/de/steamwar/core/TPSWatcher.java +++ b/SpigotCore_Main/src/de/steamwar/core/TPSWatcher.java @@ -70,7 +70,7 @@ public class TPSWatcher { } public double getTPSUnlimited() { - return getTPS(TPSType.ONE_SECOND); + return getTPSUnlimited(TPSType.ONE_SECOND); } public double getTPS(TPSType tpsType) { @@ -124,7 +124,7 @@ public class TPSWatcher { } 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) {