update homedecor again

master
Vanessa Ezekowitz 2017-02-22 17:48:50 -05:00
parent 7ec609f647
commit 7315a13c3a
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ minetest.register_node("itemframes:frame",{
end end
end, end,
can_dig = function(pos,player) can_dig = function(pos,player)
if not player then return end
local name = player and player:get_player_name() local name = player and player:get_player_name()
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
return name == meta:get_string("owner") or return name == meta:get_string("owner") or