fixed inverted condition in sign ownership check

This commit is contained in:
Vanessa Ezekowitz 2013-05-20 21:39:25 -04:00
parent 0ae531e054
commit 987f070069

View File

@ -441,7 +441,7 @@ function homedecor_register_fence_with_sign(fencename, fencewithsignname)
minetest.pos_to_string(pos)
))
end
if not homedecor_node_is_owned(pos, sender) then return end
if homedecor_node_is_owned(pos, sender) then return end
homedecor_update_sign(pos, fields)
end
def_sign.on_punch = function(pos, node, puncher, ...)