mirror of
https://github.com/kaboomserver/extras.git
synced 2025-02-18 22:49:28 +00:00
Block /geyser dump (#308)
This commit is contained in:
parent
f5af75f526
commit
613df684e8
1 changed files with 7 additions and 0 deletions
|
@ -195,6 +195,13 @@ public final class ServerCommand implements Listener {
|
||||||
return "cancel";
|
return "cancel";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "/geyser-spigot:geyser":
|
||||||
|
case "/geyser":
|
||||||
|
if (arr.length >= 2
|
||||||
|
&& "dump".equalsIgnoreCase(arr[1])) {
|
||||||
|
return "cancel";
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue