Skip to content

Commit

Permalink
Block jfr in servercommand (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
oie1 authored Jun 6, 2024
1 parent 24af535 commit 923a64c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 923a64c

Please sign in to comment.