mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-26 02:57:56 +01:00
Fix applying group web editor changes (#1148)
This commit is contained in:
parent
cc9bb34873
commit
a784ad435f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user