From 39feb26c9350530683a3ae4466b4c803363571cf Mon Sep 17 00:00:00 2001 From: Harry Zhou Date: Mon, 23 Sep 2024 16:51:25 -0500 Subject: [PATCH] Block spawnpoint in execute (#365) --- .../java/pw/kaboom/extras/modules/server/ServerCommand.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java b/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java index 725fa44..9b1e08c 100644 --- a/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java +++ b/src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java @@ -25,8 +25,9 @@ public final class ServerCommand implements Listener { private static final String[] COMMANDS = { "execute", "clone", "datapack", "fill", "forceload", "give", "kick", "locate", "locatebiome", "me", "msg", "reload", - "save-all", "say", "spreadplayers", "stop", "summon", "teammsg", "teleport", - "tell", "tellraw", "tm", "tp", "w", "place", "fillbiome", "ride" , "tick", "jfr"}; + "save-all", "say", "spawnpoint", "spreadplayers", "stop", "summon", "teammsg", + "teleport", "tell", "tellraw", "tm", "tp", "w", "place", "fillbiome", "ride" , + "tick", "jfr"}; public static boolean checkExecuteCommand(final String cmd) { for (String command : COMMANDS) {