diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-11-05 15:41:40 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-11-05 15:41:40 +0000 |
commit | 767422c8c862d228b306f81acbd3029816052fff (patch) | |
tree | 70d60a95b41f7575bf48405044b638eda6f4546f /EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java | |
parent | 5d9f11aeccdb7956e16c8ef82e5dcc78ef8893ed (diff) | |
download | Essentials-767422c8c862d228b306f81acbd3029816052fff.tar Essentials-767422c8c862d228b306f81acbd3029816052fff.tar.gz Essentials-767422c8c862d228b306f81acbd3029816052fff.tar.lz Essentials-767422c8c862d228b306f81acbd3029816052fff.tar.xz Essentials-767422c8c862d228b306f81acbd3029816052fff.zip |
Fixed Group/User reloading
Fixed Group.clone(dataholder)
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java index 8cfb3d14a..6c4cdbcf2 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java @@ -67,7 +67,7 @@ public class User extends DataUnit implements Cloneable { if (dataSource.getGroup(group) == null) { clone.setGroup(dataSource.getDefaultGroup()); } else { - clone.setGroup(this.getGroupName()); + clone.setGroup(dataSource.getGroup(this.getGroupName())); } for (String perm : this.getPermissionList()) { clone.addPermission(perm); |