mirror of
https://github.com/minetest-mods/nether.git
synced 2024-12-27 19:30:28 +01:00
fix the sky in the nether caverns when using climate_api (#61)
The mantle and geode skys were working correctly, but not the sky in the main nether area - it would always switch back to stars. Issue was found by process of elimination, so I don't know why climate_api doesn't accept "nether:nether" as a unique weather name identifier, or how this issue wasn't noticed earlier (did something change?). climate_api's api_doc.md file says the name "should be prefixed with the mod's name in a way that could look like ``mymod:awesome_weather``. This name should only be used once." so perhaps names of the form "mymod:mymod" cause issues? (I don't plan on figuring this climate_api behavior out though)
This commit is contained in:
parent
a8a6bb00c5
commit
7dc32f6bb8
2
init.lua
2
init.lua
@ -312,7 +312,7 @@ The expedition parties have found no diamonds or gold, and after an experienced
|
|||||||
geodeSky.sky_data.base_color = nether.fogColor.geodes
|
geodeSky.sky_data.base_color = nether.fogColor.geodes
|
||||||
|
|
||||||
climate_api.register_weather(
|
climate_api.register_weather(
|
||||||
"nether:nether",
|
"nether:caverns",
|
||||||
{ nether_biome = "nether" },
|
{ nether_biome = "nether" },
|
||||||
{ ["climate_api:skybox"] = netherSky }
|
{ ["climate_api:skybox"] = netherSky }
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user