Block /geyser dump (#308)

This commit is contained in:
Luna 2021-12-02 08:50:29 -05:00 committed by GitHub
parent f5af75f526
commit 613df684e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}