Skip to content

Commit

Permalink
Block /tick command in /execute (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfdmc authored Jan 19, 2024
1 parent 6cf872a commit 24af535
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" };
"fillbiome", "ride" , "tick"};

public static boolean checkExecuteCommand(final String cmd) {
for (String command : COMMANDS) {
Expand Down

0 comments on commit 24af535

Please sign in to comment.