mirror of
https://github.com/kaboomserver/extras.git
synced 2025-04-22 17:33:36 -04:00
fix: update selector pattern for 1.21.4
For the new selector `@n`
This commit is contained in:
parent
bc7e0b0f8c
commit
353516a930
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import java.util.regex.Matcher;
|
|||
import java.util.regex.Pattern;
|
||||
|
||||
public final class ServerCommand implements Listener {
|
||||
private static final Pattern SELECTOR_PATTERN = Pattern.compile("(?>\\s)*@[aepsr](?>\\s)*");
|
||||
private static final Pattern SELECTOR_PATTERN = Pattern.compile("(?>\\s)*@[aenprs](?>\\s)*");
|
||||
private static final Logger LOGGER = JavaPlugin.getPlugin(Main.class).getLogger();
|
||||
|
||||
private static final Set<String> BLOCKED_EXECUTE_COMMANDS = ImmutableSet.of(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue