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 344c95e9b6
commit 3a0be06dd0

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();