Fix bugs
Dieser Commit ist enthalten in:
Ursprung
00c7ce90a8
Commit
b0848d3e78
@ -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) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren