diff --git a/common/src/main/java/me/lucko/luckperms/utils/PermissionObject.java b/common/src/main/java/me/lucko/luckperms/utils/PermissionObject.java index 80320b33..73da8904 100644 --- a/common/src/main/java/me/lucko/luckperms/utils/PermissionObject.java +++ b/common/src/main/java/me/lucko/luckperms/utils/PermissionObject.java @@ -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;