mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +01:00
Fix issues related to Node comparisons
This commit is contained in:
parent
3442372281
commit
1da1df156e
@ -38,8 +38,8 @@ import java.util.stream.IntStream;
|
|||||||
* An immutable permission node
|
* An immutable permission node
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({"WeakerAccess", "unused"})
|
@SuppressWarnings({"WeakerAccess", "unused"})
|
||||||
@ToString
|
@ToString(exclude = {"isPrefix", "isSuffix", "isMeta"})
|
||||||
@EqualsAndHashCode
|
@EqualsAndHashCode(exclude = {"isPrefix", "isSuffix", "isMeta"})
|
||||||
public class Node implements me.lucko.luckperms.api.Node {
|
public class Node implements me.lucko.luckperms.api.Node {
|
||||||
private static final Pattern PREFIX_PATTERN = Pattern.compile("(?i)prefix\\.-?\\d+\\..*");
|
private static final Pattern PREFIX_PATTERN = Pattern.compile("(?i)prefix\\.-?\\d+\\..*");
|
||||||
private static final Pattern SUFFIX_PATTERN = Pattern.compile("(?i)suffix\\.-?\\d+\\..*");
|
private static final Pattern SUFFIX_PATTERN = Pattern.compile("(?i)suffix\\.-?\\d+\\..*");
|
||||||
|
Loading…
Reference in New Issue
Block a user