mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Fix bug that updates the settings.json if the webapp is being disabled
This commit is contained in:
parent
d9b6c526f8
commit
e5729a767c
@ -322,7 +322,8 @@ public void run() {
|
||||
this.api.register();
|
||||
|
||||
//save webapp settings again (for api-registered scripts and styles)
|
||||
this.getBlueMap().getWebFilesManager().saveSettings();
|
||||
if (webappConfig.isEnabled())
|
||||
this.getBlueMap().getWebFilesManager().saveSettings();
|
||||
|
||||
//done
|
||||
loaded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user