From 581b63a6b3e43d0f0b3fabe70aed71d17786bf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Mon, 20 May 2013 17:51:32 -0300 Subject: [PATCH] signs can now only be edited by owner --- signs_lib.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/signs_lib.lua b/signs_lib.lua index 2ebeeadf..96296a65 100644 --- a/signs_lib.lua +++ b/signs_lib.lua @@ -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, ...)