mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-01-14 04:02:09 +01:00
actually read the worldSkyLight config value
This commit is contained in:
parent
a09d930b15
commit
1b8bdf2bf4
@ -154,7 +154,7 @@ private synchronized void loadWorldsAndMaps() throws IOException, InterruptedExc
|
||||
World world = worlds.get(worldUUID);
|
||||
if (world == null) {
|
||||
try {
|
||||
world = MCAWorld.load(worldFolder.toPath(), worldUUID, worldNameProvider.apply(worldUUID), 15, mapConfig.isIgnoreMissingLightData());
|
||||
world = MCAWorld.load(worldFolder.toPath(), worldUUID, worldNameProvider.apply(worldUUID), mapConfig.getWorldSkyLight(), mapConfig.isIgnoreMissingLightData());
|
||||
worlds.put(worldUUID, world);
|
||||
} catch (MissingResourcesException e) {
|
||||
throw e; // rethrow this to stop loading and display resource-missing message
|
||||
|
Loading…
Reference in New Issue
Block a user