Block /tick command in /execute (#351)

This commit is contained in:
yfdmc 2024-01-19 09:48:53 -08:00 committed by GitHub
parent 6cf872ad16
commit 24af535c60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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" };
"fillbiome", "ride" , "tick"};
public static boolean checkExecuteCommand(final String cmd) {
for (String command : COMMANDS) {