forked from kaboomserver/extras
Block jfr in servercommand (#353)
This commit is contained in:
parent
24af535c60
commit
923a64c906
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue