diff options
Diffstat (limited to 'itemframes')
-rw-r--r-- | itemframes/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/itemframes/init.lua b/itemframes/init.lua index 94004a2..bb7f95a 100644 --- a/itemframes/init.lua +++ b/itemframes/init.lua @@ -206,6 +206,7 @@ minetest.register_node("itemframes:pedestal",{ end end, can_dig = function(pos,player) + if not player then return end local name = player and player:get_player_name() local meta = minetest.get_meta(pos) return name == meta:get_string("owner") or |