Fix permission Check in CommandTPSLimiter
Dieser Commit ist enthalten in:
Ursprung
64b7814dd5
Commit
dda62edfaa
@ -77,6 +77,7 @@ public class CommandTPSLimiter extends SWCommand {
|
||||
|
||||
@Register
|
||||
public void valueCommand(Player p, String tpsLimit) {
|
||||
if (!permissionCheck(p)) return;
|
||||
try {
|
||||
double tpsLimitDouble = Double.parseDouble(tpsLimit.replace(',', '.'));
|
||||
if (tpsLimitDouble < 0.5 || tpsLimitDouble > (TPSUtils.isWarpAllowed() ? 40 : 20)) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren