Skip to content

Commit dd97a40

Browse files
committed
Block spawnpoint in execute
1 parent d36503e commit dd97a40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/pw/kaboom/extras/modules/server/ServerCommand.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ public final class ServerCommand implements Listener {
2525

2626
private static final String[] COMMANDS = { "execute", "clone", "datapack", "fill",
2727
"forceload", "give", "kick", "locate", "locatebiome", "me", "msg", "reload",
28-
"save-all", "say", "spreadplayers", "stop", "summon", "teammsg", "teleport",
29-
"tell", "tellraw", "tm", "tp", "w", "place", "fillbiome", "ride" , "tick", "jfr"};
28+
"save-all", "say", "spawnpoint", "spreadplayers", "stop", "summon", "teammsg",
29+
"teleport", "tell", "tellraw", "tm", "tp", "w", "place", "fillbiome", "ride" ,
30+
"tick", "jfr"};
3031

3132
public static boolean checkExecuteCommand(final String cmd) {
3233
for (String command : COMMANDS) {

0 commit comments

Comments
 (0)