Block jfr in servercommand (#353)

This commit is contained in:
oi 2024-06-07 01:01:21 +03:00 committed by GitHub
parent 24af535c60
commit 923a64c906
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {