Fixed disable-webserver not being used (thanks for checking that Kilandor).

This commit is contained in:
FrozenCow 2011-02-24 00:58:40 +01:00
parent e6d2c4932a
commit 39db895b9d

View File

@ -76,7 +76,9 @@ public class DynmapPlugin extends JavaPlugin {
mapManager = new MapManager(this, configuration); mapManager = new MapManager(this, configuration);
mapManager.startRendering(); mapManager.startRendering();
if (!configuration.getBoolean("disable-webserver", false)) {
loadWebserver(); loadWebserver();
}
if (configuration.getBoolean("jsonfile", false)) { if (configuration.getBoolean("jsonfile", false)) {
jsonConfig(); jsonConfig();