Refine bulk group edit primary group check

This commit is contained in:
Luck 2016-10-13 21:29:30 +01:00
parent 6109718c67
commit 782c09b686
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -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)) {