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