Skip to content

Commit

Permalink
ServerCommand.java: Fix checkstyle violation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaboombot authored Sep 10, 2024
1 parent 3278dda commit d882118
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d882118

Please sign in to comment.