diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-10-11 22:05:21 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-10-11 22:05:21 +0100 |
commit | f4a8752ee099633f371c25b81b93309ee7bb93e3 (patch) | |
tree | 433d8953a397258df2feaed0e056dc0bc8e4b420 /EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java | |
parent | 01a9f491b9083baa8098e78e2dfc9fae6fc2c86a (diff) | |
download | Essentials-f4a8752ee099633f371c25b81b93309ee7bb93e3.tar Essentials-f4a8752ee099633f371c25b81b93309ee7bb93e3.tar.gz Essentials-f4a8752ee099633f371c25b81b93309ee7bb93e3.tar.lz Essentials-f4a8752ee099633f371c25b81b93309ee7bb93e3.tar.xz Essentials-f4a8752ee099633f371c25b81b93309ee7bb93e3.zip |
v 1.4:
- Updated for Bukkits new YamlConfiguration.
- Cleared remaining Cast errors cause by object cloning.
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 a95018fa9..8a0e6cdbb 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/data/User.java @@ -183,7 +183,7 @@ public class User extends DataUnit implements Cloneable { } public ArrayList<String> subGroupListStringCopy() { - return (ArrayList<String>) subGroups.clone(); + return new ArrayList<String>(subGroups); } /** |