From c2098d777f314eed386043e4320dfd5313bba777 Mon Sep 17 00:00:00 2001 From: cora Date: Tue, 21 Nov 2023 16:53:57 +0100 Subject: [PATCH] Prevent water freezing and ice melting ABMs from fighting --- mods/ITEMS/mcl_core/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index f90664e8e..664982145 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -1458,7 +1458,7 @@ minetest.register_abm({ interval = 32, chance = 8, action = function(pos, node) - if mcl_weather.has_snow(pos) then + if mcl_weather.has_snow(pos) and minetest.get_node_light(pos, 0) < 12 then node.name = "mcl_core:ice" minetest.swap_node(pos, node) end