Fixed disable-webserver not being used (thanks for checking that Kilandor).
This commit is contained in:
parent
344c95e9b6
commit
3a0be06dd0
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,9 @@ public class DynmapPlugin extends JavaPlugin {
|
||||||
mapManager = new MapManager(this, configuration);
|
mapManager = new MapManager(this, configuration);
|
||||||
mapManager.startRendering();
|
mapManager.startRendering();
|
||||||
|
|
||||||
loadWebserver();
|
if (!configuration.getBoolean("disable-webserver", false)) {
|
||||||
|
loadWebserver();
|
||||||
|
}
|
||||||
|
|
||||||
if (configuration.getBoolean("jsonfile", false)) {
|
if (configuration.getBoolean("jsonfile", false)) {
|
||||||
jsonConfig();
|
jsonConfig();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue