Fix NPE
Dieser Commit ist enthalten in:
Ursprung
a10a60a0de
Commit
20fa076176
@ -167,8 +167,10 @@ public class CommandTPSLimiter extends SWCommand {
|
||||
public static void setTPS(double d) {
|
||||
if (d < 0.5) d = 0.5;
|
||||
if (d > (TPSUtils.isWarpAllowed() ? 40 : 20)) d = (TPSUtils.isWarpAllowed() ? 40 : 20);
|
||||
if (instance != null) {
|
||||
currentTPSLimit = d;
|
||||
instance.tpsLimiter();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren