Remove code I don't want anymore.

This commit is contained in:
Eric Stokes 2011-07-09 16:57:04 -06:00
parent 6ccb52bc3e
commit 949e70b81c

View File

@ -238,29 +238,6 @@ public class MultiverseCore extends JavaPlugin {
log(Level.INFO, count + " - World(s) loaded.");
}
/**
*
* @return
*/
private int loadDefaultWorlds() {
int additonalWorldsLoaded = 0;
// Load the default world:
World world = this.getServer().getWorlds().get(0);
if (!this.worlds.containsKey(world.getName())) {
addWorld(world.getName(), Environment.NORMAL, null, null);
additonalWorldsLoaded++;
}
// This next one could be null if they have it disabled in server.props
World world_nether = this.getServer().getWorld(world.getName() + "_nether");
if (world_nether != null && !this.worlds.containsKey(world_nether.getName())) {
addWorld(world_nether.getName(), Environment.NETHER, null, null);
additonalWorldsLoaded++;
}
return additonalWorldsLoaded;
}
/**
* Add a new World to the Multiverse Setup.
*
@ -416,6 +393,9 @@ public class MultiverseCore extends JavaPlugin {
*/
public void onDisable() {
debugLog.close();
this.ph.setPermissions(null);
this.banker = null;
this.bank = null;
log(Level.INFO, "- Disabled");
}