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.startRendering();
loadWebserver();
if (!configuration.getBoolean("disable-webserver", false)) {
loadWebserver();
}
if (configuration.getBoolean("jsonfile", false)) {
jsonConfig();