mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-20 21:32:17 +00:00
Correct the case of group names when retrieved from Node instances
This commit is contained in:
1 file changed
+1
-1
@@ -225,7 +225,7 @@ public class ImmutableNode implements Node {
|
||||
// Setup state
|
||||
isGroup = this.permission.toLowerCase().startsWith("group.");
|
||||
if (isGroup) {
|
||||
groupName = this.permission.substring("group.".length());
|
||||
groupName = this.permission.substring("group.".length()).toLowerCase();
|
||||
}
|
||||
|
||||
isWildcard = this.permission.endsWith(".*");
|
||||
|
||||
Reference in new issue
Block a user