From 90abfb03479f2b8317ba4b347f4e4ca5c52f32c3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 25 Jul 2017 01:35:29 +0200 Subject: [PATCH] Remove sign owner --- mods/ITEMS/signs/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/ITEMS/signs/init.lua b/mods/ITEMS/signs/init.lua index 1064f3d406..f7b1515746 100644 --- a/mods/ITEMS/signs/init.lua +++ b/mods/ITEMS/signs/init.lua @@ -151,12 +151,10 @@ local update_sign = function(pos, fields, sender) if not meta then return end - local owner = meta:get_string("owner") local text = meta:get_string("text") - if fields and (sender:get_player_name() == owner or (text == "" and fields.text)) then + if fields and (text == "" and fields.text) then meta:set_string("text", fields.text) text = fields.text - meta:set_string("owner", sender:get_player_name() or "") end if text == nil then text = ""