diff options
author | ElgarL <ElgarL@palmergames.com> | 2012-01-24 15:37:21 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2012-01-24 15:37:21 +0000 |
commit | a13740f63846a4919a2185a90c60a10e5cf3a3b6 (patch) | |
tree | 6c471bff046d833713e86a66d44860e748c3f870 /EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds | |
parent | 5f19cbf17b6bebe79ea59c8e68620f1dddceb306 (diff) | |
download | Essentials-a13740f63846a4919a2185a90c60a10e5cf3a3b6.tar Essentials-a13740f63846a4919a2185a90c60a10e5cf3a3b6.tar.gz Essentials-a13740f63846a4919a2185a90c60a10e5cf3a3b6.tar.lz Essentials-a13740f63846a4919a2185a90c60a10e5cf3a3b6.tar.xz Essentials-a13740f63846a4919a2185a90c60a10e5cf3a3b6.zip |
Fix hasOwnData to return a correct result with new mirroring system
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java index 234806a95..320fe3e26 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -553,7 +553,7 @@ public class WorldsHolder { * @return true if it has its own holder. false if not. */ public boolean hasOwnData(String worldName) { - if (worldsData.containsKey(worldName.toLowerCase())) { + if (worldsData.containsKey(worldName.toLowerCase()) && (!mirrorsGroup.containsKey(worldName.toLowerCase()) || !mirrorsUser.containsKey(worldName.toLowerCase()))) { return true; } return false; |