AlathraRoles port

This commit is contained in:
Sean committed 2022-08-12 17:08:33 -04:00
1 parent 1f0869d4a9
commit 0b9784cf7b
10 files changed
+836 -4

No files matched your search

@@ -71,6 +71,9 @@ public class LuckPermsHook {
User user = um.getUser(playername);
for (Group group : user.getInheritedGroups(user.getQueryOptions())) {
String groupPrefix = group.getCachedData().getMetaData().getPrefix();
if (groupPrefix == null) {
groupPrefix = "";
}
if (groupPrefix.equals(prefix)) {
isGroupPrefix = true;
}