diff options
-rw-r--r-- | init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -296,6 +296,11 @@ local function sed() end end + -- protected? + if minetest.is_protected(pos, "mod:sedimentology") then + return + end + local node = minetest.get_node(pos) -- do we handle this material? @@ -360,6 +365,10 @@ local function sed() if lowest < pos.y then local tpos = {x = pos.x + lowesto.x, y = lowest, z = pos.z + lowesto.z} + if minetest.is_protected(tpos, "mod:sedimentology") then + return + end + if not roll(mprops[node.name].r) then local tnode = minetest.get_node(tpos) |