Unblock some commands in execute

Commands for sending chat messages, teleportation, and summoning entities are unblocked for now.
This commit is contained in:
Chipmunk 2022-12-31 14:27:14 -05:00
parent b3555d92d8
commit 9d5c0232aa

View file

@ -30,21 +30,21 @@ public final class ServerCommand implements Listener {
|| "kick".equalsIgnoreCase(cmd)
|| "locate".equalsIgnoreCase(cmd)
|| "locatebiome".equalsIgnoreCase(cmd)
|| "me".equalsIgnoreCase(cmd)
|| "msg".equalsIgnoreCase(cmd)
// || "me".equalsIgnoreCase(cmd)
// || "msg".equalsIgnoreCase(cmd)
|| "reload".equalsIgnoreCase(cmd)
|| "save-all".equalsIgnoreCase(cmd)
|| "say".equalsIgnoreCase(cmd)
|| "spreadplayers".equalsIgnoreCase(cmd)
|| "stop".equalsIgnoreCase(cmd)
|| "summon".equalsIgnoreCase(cmd)
|| "teammsg".equalsIgnoreCase(cmd)
|| "teleport".equalsIgnoreCase(cmd)
|| "tell".equalsIgnoreCase(cmd)
|| "tellraw".equalsIgnoreCase(cmd)
|| "tm".equalsIgnoreCase(cmd)
|| "tp".equalsIgnoreCase(cmd)
|| "w".equalsIgnoreCase(cmd)
// || "summon".equalsIgnoreCase(cmd)
// || "teammsg".equalsIgnoreCase(cmd)
// || "teleport".equalsIgnoreCase(cmd)
// || "tell".equalsIgnoreCase(cmd)
// || "tellraw".equalsIgnoreCase(cmd)
// || "tm".equalsIgnoreCase(cmd)
// || "tp".equalsIgnoreCase(cmd)
// || "w".equalsIgnoreCase(cmd)
);
}