1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

signs can now only be edited by owner

This commit is contained in:
Diego Martínez 2013-05-20 17:51:32 -03:00
parent 493abe720d
commit 581b63a6b3

View File

@ -441,6 +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
homedecor_update_sign(pos, fields)
end
def_sign.on_punch = function(pos, node, puncher, ...)