Block give in execute

This commit is contained in:
7cc5c4f330d47060 2024-08-21 19:14:23 +00:00 committed by GitHub
parent 8fe96bcc2b
commit 9cbd803690
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", "jfr"};
"fillbiome", "ride" , "tick", "jfr", "give" };
public static boolean checkExecuteCommand(final String cmd) {
for (String command : COMMANDS) {