From 613df684e8b6de4fb7463436c6b69ac2f81a7561 Mon Sep 17 00:00:00 2001 From: Luna <90072930+LunaWasFlaggedAgain@users.noreply.github.com> Date: Thu, 2 Dec 2021 08:50:29 -0500 Subject: [PATCH] Block /geyser dump (#308) --- .../pw/kaboom/extras/modules/server/ServerCommand.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java b/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java index 2d364c7..53f8cfe 100644 --- a/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java +++ b/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java @@ -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; }