mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
small fix
This commit is contained in:
parent
a7a84952fe
commit
a9619bc08c
@ -540,7 +540,7 @@ public abstract class PermissionObject {
|
||||
// Could be here if the server was set to global.
|
||||
String n = node.getKey();
|
||||
if (n.contains("/")) {
|
||||
n = Patterns.SERVER_SPLIT.split(n, 2)[0];
|
||||
n = Patterns.SERVER_SPLIT.split(n, 2)[1];
|
||||
}
|
||||
|
||||
if (Patterns.GROUP_MATCH.matcher(n).matches()) {
|
||||
@ -571,7 +571,6 @@ public abstract class PermissionObject {
|
||||
// Add the actual group perm node, so other plugins can hook
|
||||
perms.put(groupNode.getKey(), groupNode.getValue());
|
||||
|
||||
|
||||
// Don't add negated groups
|
||||
if (!groupNode.getValue()) continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user