mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-07 03:19:47 +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
|
||||
*/
|
||||
@SuppressWarnings({"WeakerAccess", "unused"})
|
||||
@ToString
|
||||
@EqualsAndHashCode
|
||||
@ToString(exclude = {"isPrefix", "isSuffix", "isMeta"})
|
||||
@EqualsAndHashCode(exclude = {"isPrefix", "isSuffix", "isMeta"})
|
||||
public class Node implements me.lucko.luckperms.api.Node {
|
||||
private static final Pattern PREFIX_PATTERN = Pattern.compile("(?i)prefix\\.-?\\d+\\..*");
|
||||
private static final Pattern SUFFIX_PATTERN = Pattern.compile("(?i)suffix\\.-?\\d+\\..*");
|
||||
|
Loading…
Reference in New Issue
Block a user