From 923a64c906c941e702d9ed97572718f98f7c8c89 Mon Sep 17 00:00:00 2001 From: oi Date: Fri, 7 Jun 2024 01:01:21 +0300 Subject: [PATCH] Block jfr in servercommand (#353) --- .../java/pw/kaboom/extras/modules/server/ServerCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5b324bc..45fcf6c 100644 --- a/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java +++ b/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java @@ -26,7 +26,7 @@ public final class ServerCommand implements Listener { private static final String[] COMMANDS = { "execute", "clone", "fill", "forceload", "kick", "locate", "locatebiome", "me", "msg", "reload", "save-all", "say", "spreadplayers", "stop", "summon", "teammsg", "teleport", "tell", "tellraw", "tm", "tp", "w", "place", - "fillbiome", "ride" , "tick"}; + "fillbiome", "ride" , "tick", "jfr"}; public static boolean checkExecuteCommand(final String cmd) { for (String command : COMMANDS) {