fix missing ownership check on editing yard signs

This commit is contained in:
Vanessa Ezekowitz 2013-05-20 21:55:40 -04:00
parent 987f070069
commit 049b358c31
1 changed files with 2 additions and 1 deletions

View File

@ -233,6 +233,7 @@ minetest.register_node(":signs:sign_yard", {
minetest.pos_to_string(pos)
))
end
if homedecor_node_is_owned(pos, sender) then return end
homedecor_update_sign(pos, fields)
end,
on_punch = function(pos, node, puncher)