diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-25 21:12:38 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-25 21:12:38 +0100 |
commit | fa733941138393a610625266dca52350e1fe4666 (patch) | |
tree | 54cc0437c9a363156280ab40a01fb35daf2822ac /EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | |
parent | 3daf56c8bea5280c05c7791a700b84bb2abbddaf (diff) | |
parent | b25a8f059b4d383b21d789aefbd3e3273503c0ba (diff) | |
download | Essentials-fa733941138393a610625266dca52350e1fe4666.tar Essentials-fa733941138393a610625266dca52350e1fe4666.tar.gz Essentials-fa733941138393a610625266dca52350e1fe4666.tar.lz Essentials-fa733941138393a610625266dca52350e1fe4666.tar.xz Essentials-fa733941138393a610625266dca52350e1fe4666.zip |
Merge branch 'refs/heads/groupmanager'
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java index 6544bb1cc..25eaf8526 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -268,9 +268,10 @@ public class WorldsHolder { * @return OverloadedWorldHolder */ public OverloadedWorldHolder getWorldData(String worldName) { - OverloadedWorldHolder data = worldsData.get(worldName.toLowerCase()); - if (mirrors.containsKey(worldName.toLowerCase())) { - String realOne = mirrors.get(worldName.toLowerCase()); + String worldNameLowered = worldName.toLowerCase(); + OverloadedWorldHolder data = worldsData.get(worldNameLowered); + if (mirrors.containsKey(worldNameLowered)) { + String realOne = mirrors.get(worldNameLowered); data = worldsData.get(realOne.toLowerCase()); } if (data == null) { |