mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Refine bulk group edit primary group check
This commit is contained in:
parent
6109718c67
commit
782c09b686
@ -83,8 +83,10 @@ public class BulkEditGroup extends SubCommand<Datastore> {
|
||||
}
|
||||
|
||||
if (element.getGroupName().equals(user.getPrimaryGroup())) {
|
||||
if (!element.isServerSpecific() && !element.isWorldSpecific() && !element.isTemporary()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (!group.equals("null") && !element.getGroupName().equals(group)) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user