diff options
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/events')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GMWorldListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GMWorldListener.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GMWorldListener.java index f89a70c4a..51937bd67 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GMWorldListener.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GMWorldListener.java @@ -36,7 +36,7 @@ public class GMWorldListener implements Listener { GroupManager.logger.info("New world detected...");
GroupManager.logger.info("Creating data for: " + worldName);
- if (plugin.getWorldsHolder().getWorldData("all_unnamed_worlds") != null) {
+ if (plugin.getWorldsHolder().isWorldKnown("all_unnamed_worlds")) {
String usersMirror = plugin.getWorldsHolder().getMirrorsUser().get("all_unnamed_worlds");
String groupsMirror = plugin.getWorldsHolder().getMirrorsGroup().get("all_unnamed_worlds");
|