Add TPSWatcher #62
@ -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) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren