mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 18:45:21 +01:00
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 @@ private void load(@Nullable ResourcePack preloadedResourcePack) throws IOExcepti
|
||||
}
|
||||
});
|
||||
|
||||
//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
|
||||
if (webappConfig.isEnabled())
|
||||
blueMap.createOrUpdateWebApp(false);
|
||||
@ -325,6 +318,13 @@ public void run() {
|
||||
if (webappConfig.isEnabled())
|
||||
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
|
||||
loaded = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user