From a6bf9dd526e51b25f1ca08d6d214c5e8442b503b Mon Sep 17 00:00:00 2001 From: ZenonSeth <118483769+ZenonSeth@users.noreply.github.com> Date: Wed, 28 May 2025 17:53:44 +0100 Subject: [PATCH] Workaround for sign regression with 5.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --------- Co-authored-by: sfan5 Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> --- mods/default/nodes.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 8537d9e8..e9387a58 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -2604,6 +2604,9 @@ local function register_sign(material, desc, def) meta:set_string("formspec", "field[text;;${text}]") end, on_receive_fields = function(pos, formname, fields, sender) + if not fields.quit then + return -- workaround for https://github.com/luanti-org/luanti/issues/16187 + end local player_name = sender:get_player_name() if minetest.is_protected(pos, player_name) then minetest.record_protection_violation(pos, player_name)