From 7dc32f6bb85e67112e44c8ce1e7959e67e333429 Mon Sep 17 00:00:00 2001 From: Treer Date: Sun, 20 Nov 2022 01:05:03 +1100 Subject: [PATCH] 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) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 13fcaa6..2251be9 100644 --- a/init.lua +++ b/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 climate_api.register_weather( - "nether:nether", + "nether:caverns", { nether_biome = "nether" }, { ["climate_api:skybox"] = netherSky } )