diff --git a/mods/default/functions.lua b/mods/default/functions.lua index ceeeedc6..0f3cb764 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -573,7 +573,7 @@ minetest.register_abm({ -- function default.can_interact_with_node(player, pos) - if player then + if player and player:is_player() then if minetest.check_player_privs(player, "protection_bypass") then return true end