From a0aec52661b8149b33a0dbd41943e37f15f8bc8d Mon Sep 17 00:00:00 2001 From: Luck Date: Sat, 18 Mar 2017 14:43:34 +0000 Subject: [PATCH] Correct the case of group names when retrieved from Node instances --- .../me/lucko/luckperms/common/core/model/ImmutableNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/core/model/ImmutableNode.java b/common/src/main/java/me/lucko/luckperms/common/core/model/ImmutableNode.java index 31002d3e..fc271036 100644 --- a/common/src/main/java/me/lucko/luckperms/common/core/model/ImmutableNode.java +++ b/common/src/main/java/me/lucko/luckperms/common/core/model/ImmutableNode.java @@ -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(".*");