forked from kaboomserver/extras
ServerCommand.java: Fix checkstyle violation
This commit is contained in:
parent
3278ddaddc
commit
d882118c96
1 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,10 @@ public final class ServerCommand implements Listener {
|
|||
private static final Pattern SELECTOR_PATTERN = Pattern.compile("(?>\\s)*@[aepsr](?>\\s)*");
|
||||
private static final Logger LOGGER = JavaPlugin.getPlugin(Main.class).getLogger();
|
||||
|
||||
private static final String[] COMMANDS = { "execute", "clone", "datapack", "fill", "forceload", "kick",
|
||||
"locate", "locatebiome", "me", "msg", "reload", "save-all", "say", "spreadplayers",
|
||||
"stop", "summon", "teammsg", "teleport", "tell", "tellraw", "tm", "tp", "w", "place",
|
||||
"fillbiome", "ride" , "tick", "jfr"};
|
||||
private static final String[] COMMANDS = { "execute", "clone", "datapack", "fill",
|
||||
"forceload", "kick", "locate", "locatebiome", "me", "msg", "reload", "save-all",
|
||||
"say", "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) {
|
||||
|
|
Loading…
Reference in a new issue