mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Prevent water freezing and ice melting ABMs from fighting
This commit is contained in:
parent
dc07eea590
commit
c2098d777f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue