This commit is contained in:
Craig Davison 2015-04-13 04:12:21 +00:00
commit 7c8e717052

View file

@ -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,
})