diff --git a/mods/default/functions.lua b/mods/default/functions.lua index 82c9282a..29f61cbd 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -103,7 +103,9 @@ minetest.register_abm({ interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) - default.cool_lava_flowing(pos, node, active_object_count, active_object_count_wider) + if not minetest.is_protected(pos, "") then + default.cool_lava_flowing(pos, node, active_object_count, active_object_count_wider) + end end, }) @@ -113,7 +115,9 @@ minetest.register_abm({ interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) - default.cool_lava_source(pos, node, active_object_count, active_object_count_wider) + if not minetest.is_protected(pos, "") then + default.cool_lava_source(pos, node, active_object_count, active_object_count_wider) + end end, })