mirror of
https://github.com/kaboomserver/extras.git
synced 2024-11-23 07:57:58 -05:00
Make distance selector stricter
This commit is contained in:
parent
9e0cc8c034
commit
1cd903e3d4
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public final class ServerCommand implements Listener {
|
|||
private static final Pattern AS_AT_PATTERN = Pattern.compile(
|
||||
"\\b(as|at|facing entity) @[ae]\\b");
|
||||
private static final Pattern DISTANCE_SELECTOR_PATTERN = Pattern.compile(
|
||||
"[\"']?distance[\"']?\\s*=\\s*");
|
||||
"@[aeprs]\\[[\"']?distance[\"']?\\s*=\\s*");
|
||||
private static final Logger LOGGER = JavaPlugin.getPlugin(Main.class).getLogger();
|
||||
|
||||
public static boolean checkExecuteCommand(final String cmd) {
|
||||
|
|
Loading…
Reference in a new issue