From a13740f63846a4919a2185a90c60a10e5cf3a3b6 Mon Sep 17 00:00:00 2001 From: ElgarL Date: Tue, 24 Jan 2012 15:37:21 +0000 Subject: [PATCH] Fix hasOwnData to return a correct result with new mirroring system --- .../anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;