mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Correct the case of group names when retrieved from Node instances
This commit is contained in:
parent
407ab43dd1
commit
a0aec52661
@ -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(".*");
|
||||
|
Loading…
Reference in New Issue
Block a user