From b37799354bdd134a13a9861b0815367faf5db8d9 Mon Sep 17 00:00:00 2001 From: Eric Stokes Date: Tue, 28 Jun 2011 07:34:13 -0600 Subject: [PATCH] Remove autoloading of worlds, Part of issue #25 --- src/com/onarandombox/MultiverseCore/MultiverseCore.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/onarandombox/MultiverseCore/MultiverseCore.java b/src/com/onarandombox/MultiverseCore/MultiverseCore.java index 907ad965..61fca8e6 100644 --- a/src/com/onarandombox/MultiverseCore/MultiverseCore.java +++ b/src/com/onarandombox/MultiverseCore/MultiverseCore.java @@ -314,6 +314,7 @@ public class MultiverseCore extends JavaPlugin { // Grab all the Worlds from the Config. List worldKeys = this.configWorlds.getKeys("worlds"); + // Force the worlds to be loaded, ie don't just load new worlds. if(forceLoad) { this.worlds.clear(); } @@ -339,7 +340,10 @@ public class MultiverseCore extends JavaPlugin { } // Ensure that the worlds created by the default server were loaded into MV, useful for first time runs - count += loadDefaultWorlds(); + //count += loadDefaultWorlds(); + // TODO: This was taken out because some people don't want nether! Instead show a message to people who have MVImport + // and tell them to do MVImports for their worlds! + // Simple Output to the Console to show how many Worlds were loaded. log(Level.INFO, count + " - World(s) loaded.");