Start rendering after everything else is loaded (#425)
To attempt to fix the weirdness with tile filters not working at startup
This commit is contained in:
parent
b9dbb100e4
commit
f467220400
|
@ -220,13 +220,6 @@ public class Plugin implements ServerEventListener {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//start render-manager
|
|
||||||
if (pluginState.isRenderThreadsEnabled()) {
|
|
||||||
checkPausedByPlayerCount(); // <- this also starts the render-manager if it should start
|
|
||||||
} else {
|
|
||||||
Logger.global.logInfo("Render-Threads are STOPPED! Use the command 'bluemap start' to start them.");
|
|
||||||
}
|
|
||||||
|
|
||||||
//update webapp and settings
|
//update webapp and settings
|
||||||
if (webappConfig.isEnabled())
|
if (webappConfig.isEnabled())
|
||||||
blueMap.createOrUpdateWebApp(false);
|
blueMap.createOrUpdateWebApp(false);
|
||||||
|
@ -325,6 +318,13 @@ public class Plugin implements ServerEventListener {
|
||||||
if (webappConfig.isEnabled())
|
if (webappConfig.isEnabled())
|
||||||
this.getBlueMap().getWebFilesManager().saveSettings();
|
this.getBlueMap().getWebFilesManager().saveSettings();
|
||||||
|
|
||||||
|
//start render-manager
|
||||||
|
if (pluginState.isRenderThreadsEnabled()) {
|
||||||
|
checkPausedByPlayerCount(); // <- this also starts the render-manager if it should start
|
||||||
|
} else {
|
||||||
|
Logger.global.logInfo("Render-Threads are STOPPED! Use the command 'bluemap start' to start them.");
|
||||||
|
}
|
||||||
|
|
||||||
//done
|
//done
|
||||||
loaded = true;
|
loaded = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue