mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +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
|
// Setup state
|
||||||
isGroup = this.permission.toLowerCase().startsWith("group.");
|
isGroup = this.permission.toLowerCase().startsWith("group.");
|
||||||
if (isGroup) {
|
if (isGroup) {
|
||||||
groupName = this.permission.substring("group.".length());
|
groupName = this.permission.substring("group.".length()).toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
isWildcard = this.permission.endsWith(".*");
|
isWildcard = this.permission.endsWith(".*");
|
||||||
|
Loading…
Reference in New Issue
Block a user