mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-18 17:19:17 +00:00
Fix applying group web editor changes (#1148)
This commit is contained in:
1 file changed
+1
-1
@@ -123,7 +123,7 @@ public final class WebEditor {
|
||||
public static PermissionHolder getHolderFromIdentifier(LuckPermsPlugin plugin, Sender sender, String who) {
|
||||
if (who.startsWith(GROUP_ID_PATTERN)) {
|
||||
String group = who.substring(GROUP_ID_PATTERN.length());
|
||||
Group holder = plugin.getStorage().loadGroup(who).join().orElse(null);
|
||||
Group holder = plugin.getStorage().loadGroup(group).join().orElse(null);
|
||||
if (holder == null) {
|
||||
Message.APPLY_EDITS_TARGET_GROUP_NOT_EXISTS.send(sender, group);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user