From 8cbf0de2ec9063cce96959eee0d7284e3d2b4aed Mon Sep 17 00:00:00 2001 From: tai Date: Sat, 12 Nov 2016 21:11:04 +0000 Subject: [PATCH] do not affect protected areas --- nuovo_api.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nuovo_api.lua b/nuovo_api.lua index 101ffbc..db67fdc 100644 --- a/nuovo_api.lua +++ b/nuovo_api.lua @@ -2557,6 +2557,7 @@ function mobs:register_arrow(name, def) if self.hit_node then local node = node_ok(pos).name + if minetest.is_protected(pos,"") then return end --if minetest.registered_nodes[node].walkable then if node ~= "air" then