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,8 +83,10 @@ public class BulkEditGroup extends SubCommand<Datastore> {
} }
if (element.getGroupName().equals(user.getPrimaryGroup())) { if (element.getGroupName().equals(user.getPrimaryGroup())) {
if (!element.isServerSpecific() && !element.isWorldSpecific() && !element.isTemporary()) {
continue; continue;
} }
}
if (!group.equals("null") && !element.getGroupName().equals(group)) { if (!group.equals("null") && !element.getGroupName().equals(group)) {
continue; continue;