mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 05:02:35 +00:00
Refine bulk group edit primary group check
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user