mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Add "!" delimiter to verbose matching
This commit is contained in:
parent
0c1a2e82bf
commit
02ea3afbe9
@ -71,7 +71,7 @@ public class DebugListener {
|
||||
return false;
|
||||
}
|
||||
|
||||
StringTokenizer tokenizer = new StringTokenizer(filter, " |&()", true);
|
||||
StringTokenizer tokenizer = new StringTokenizer(filter, " |&()!", true);
|
||||
StringBuilder expression = new StringBuilder();
|
||||
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
@ -104,7 +104,7 @@ public class DebugListener {
|
||||
}
|
||||
|
||||
private static boolean isDelim(String token) {
|
||||
return token.equals(" ") || token.equals("|") || token.equals("&") || token.equals("(") || token.equals(")");
|
||||
return token.equals(" ") || token.equals("|") || token.equals("&") || token.equals("(") || token.equals(")") || token.equals("!");
|
||||
}
|
||||
|
||||
public String uploadPastedData() {
|
||||
|
Loading…
Reference in New Issue
Block a user