diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-10-16 01:23:25 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-10-16 01:23:25 +0100 |
commit | 121966436e381b96f3905301a8567b9767b2b36e (patch) | |
tree | 7cf334dc33736eda6e7ad257d273a550940338dd /EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder | |
parent | 03adb56d256315924fd3cb14e5281dec28967195 (diff) | |
download | Essentials-121966436e381b96f3905301a8567b9767b2b36e.tar Essentials-121966436e381b96f3905301a8567b9767b2b36e.tar.gz Essentials-121966436e381b96f3905301a8567b9767b2b36e.tar.lz Essentials-121966436e381b96f3905301a8567b9767b2b36e.tar.xz Essentials-121966436e381b96f3905301a8567b9767b2b36e.zip |
Fixed reading world mirrors from the config.
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java index 0bcf9a827..573fcebc3 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -99,11 +99,11 @@ public class WorldsHolder { * don't load any worlds which are already loaded * or mirrored worlds that don't need data. */ - if (worldsData.containsKey(folder.getName().toLowerCase()) - || mirrors.containsKey(folder.getName().toLowerCase())) { - continue; + if (!worldsData.containsKey(folder.getName().toLowerCase()) + || !mirrors.containsKey(folder.getName().toLowerCase())) { + loadWorld(folder.getName()); } - loadWorld(folder.getName()); + } } } |