Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function confirm_block_surroundings(p)
- for x = -32,32,64 do
- for y = -32,32,64 do
- for z = -32,32,64 do
- local node = minetest.get_node_or_nil({x=p.x + x, y=p.y + y, z=p.z + z})
- if not node or node.name == "ignore" then return end
- end
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement