Fix the console spewing many many errors. Sorry.

This commit is contained in:
Eric Stokes 2011-08-24 20:01:50 -06:00
parent 7a38806134
commit 319567eb67
2 changed files with 5 additions and 2 deletions

View File

@ -89,6 +89,8 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
// Configurations
private Configuration configMV = null;
private WorldManager worldManager = new WorldManager(this);
// Setup the block/player/entity listener.
private MVPlayerListener playerListener = new MVPlayerListener(this);
@ -108,7 +110,7 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
protected int pluginCount;
private DestinationFactory destFactory;
private SpoutInterface spoutInterface = null;
private WorldManager worldManager;
@Override
public void onLoad() {
@ -145,7 +147,7 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
this.registerCommands();
this.playerSessions = new HashMap<String, MVPlayerSession>();
this.worldManager = new WorldManager(this);
// Start the Update Checker
// updateCheck = new UpdateChecker(this.getDescription().getName(), this.getDescription().getVersion());

View File

@ -24,6 +24,7 @@ public class WorldManager {
private Configuration configWorlds = null;
public WorldManager(MultiverseCore core) {
this.plugin = core;
this.worlds = new HashMap<String, MVWorld>();
this.worldPurger = new PurgeWorlds(this.plugin);