mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-26 04:25:37 +01:00
Fix the console spewing many many errors. Sorry.
This commit is contained in:
parent
7a38806134
commit
319567eb67
@ -89,6 +89,8 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
|||||||
// Configurations
|
// Configurations
|
||||||
private Configuration configMV = null;
|
private Configuration configMV = null;
|
||||||
|
|
||||||
|
private WorldManager worldManager = new WorldManager(this);
|
||||||
|
|
||||||
// Setup the block/player/entity listener.
|
// Setup the block/player/entity listener.
|
||||||
private MVPlayerListener playerListener = new MVPlayerListener(this);
|
private MVPlayerListener playerListener = new MVPlayerListener(this);
|
||||||
|
|
||||||
@ -108,7 +110,7 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
|||||||
protected int pluginCount;
|
protected int pluginCount;
|
||||||
private DestinationFactory destFactory;
|
private DestinationFactory destFactory;
|
||||||
private SpoutInterface spoutInterface = null;
|
private SpoutInterface spoutInterface = null;
|
||||||
private WorldManager worldManager;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
@ -145,7 +147,7 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
|||||||
this.registerCommands();
|
this.registerCommands();
|
||||||
|
|
||||||
this.playerSessions = new HashMap<String, MVPlayerSession>();
|
this.playerSessions = new HashMap<String, MVPlayerSession>();
|
||||||
this.worldManager = new WorldManager(this);
|
|
||||||
|
|
||||||
// Start the Update Checker
|
// Start the Update Checker
|
||||||
// updateCheck = new UpdateChecker(this.getDescription().getName(), this.getDescription().getVersion());
|
// updateCheck = new UpdateChecker(this.getDescription().getName(), this.getDescription().getVersion());
|
||||||
|
@ -24,6 +24,7 @@ public class WorldManager {
|
|||||||
private Configuration configWorlds = null;
|
private Configuration configWorlds = null;
|
||||||
|
|
||||||
public WorldManager(MultiverseCore core) {
|
public WorldManager(MultiverseCore core) {
|
||||||
|
|
||||||
this.plugin = core;
|
this.plugin = core;
|
||||||
this.worlds = new HashMap<String, MVWorld>();
|
this.worlds = new HashMap<String, MVWorld>();
|
||||||
this.worldPurger = new PurgeWorlds(this.plugin);
|
this.worldPurger = new PurgeWorlds(this.plugin);
|
||||||
|
Loading…
Reference in New Issue
Block a user