mirror of
https://github.com/kaboomserver/extras.git
synced 2024-10-31 16:59:24 +00:00
Block /geyser dump (#308)
This commit is contained in:
parent
f5af75f526
commit
613df684e8
|
@ -195,6 +195,13 @@ public final class ServerCommand implements Listener {
|
|||
return "cancel";
|
||||
}
|
||||
break;
|
||||
case "/geyser-spigot:geyser":
|
||||
case "/geyser":
|
||||
if (arr.length >= 2
|
||||
&& "dump".equalsIgnoreCase(arr[1])) {
|
||||
return "cancel";
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue