You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/api.lua b/api.lua
index e6fe90e..816d687 100644
--- a/api.lua
+++ b/api.lua
@@ -84,6 +84,9 @@ end
-- Checks if the area is unprotected or owned by you
function areas:canInteract(pos, name)
+ if name == "" then
+ return true -- Mods, namely minetest.item_place_node
+ end
if minetest.check_player_privs(name, self.adminPrivs) then
return true
end
Also keep in mind that minetest.place_node respects buildable_to, whereas minetest.set_node ignores it.
using minetest.place_node in a protected area even when owned by the player does not work at all
The text was updated successfully, but these errors were encountered: