mirror of
https://github.com/kaboomserver/extras.git
synced 2024-11-14 19:25:05 -05:00
Block spawnpoint in execute (#365)
This commit is contained in:
parent
d36503ed3f
commit
39feb26c93
1 changed files with 3 additions and 2 deletions
|
@ -25,8 +25,9 @@ public final class ServerCommand implements Listener {
|
||||||
|
|
||||||
private static final String[] COMMANDS = { "execute", "clone", "datapack", "fill",
|
private static final String[] COMMANDS = { "execute", "clone", "datapack", "fill",
|
||||||
"forceload", "give", "kick", "locate", "locatebiome", "me", "msg", "reload",
|
"forceload", "give", "kick", "locate", "locatebiome", "me", "msg", "reload",
|
||||||
"save-all", "say", "spreadplayers", "stop", "summon", "teammsg", "teleport",
|
"save-all", "say", "spawnpoint", "spreadplayers", "stop", "summon", "teammsg",
|
||||||
"tell", "tellraw", "tm", "tp", "w", "place", "fillbiome", "ride" , "tick", "jfr"};
|
"teleport", "tell", "tellraw", "tm", "tp", "w", "place", "fillbiome", "ride" ,
|
||||||
|
"tick", "jfr"};
|
||||||
|
|
||||||
public static boolean checkExecuteCommand(final String cmd) {
|
public static boolean checkExecuteCommand(final String cmd) {
|
||||||
for (String command : COMMANDS) {
|
for (String command : COMMANDS) {
|
||||||
|
|
Loading…
Reference in a new issue