Skip to content

Commit ce39de0

Browse files
authored
feat: block /geyser reload (#382)
1 parent 9c134b5 commit ce39de0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ public static String checkCommand(final CommandSender sender, final String comma
161161
}
162162
case "/geyser-spigot:geyser", "/geyser" -> {
163163
if (arr.length >= 2
164-
&& "dump".equalsIgnoreCase(arr[1])) {
164+
&& ("dump".equalsIgnoreCase(arr[1])
165+
|| "reload".equalsIgnoreCase(arr[1]))) {
165166
return "cancel";
166167
}
167168
}

0 commit comments

Comments
 (0)