Fixed disable-webserver not being used (thanks for checking that Kilandor).
This commit is contained in:
parent
e6d2c4932a
commit
39db895b9d
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue