Skip to content

Commit a6bf9dd

Browse files
ZenonSethsfan5appgurueu
authored
Workaround for sign regression with 5.12.0
--------- Co-authored-by: sfan5 <[email protected]> Co-authored-by: Lars Müller <[email protected]>
1 parent 838ad60 commit a6bf9dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mods/default/nodes.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2604,6 +2604,9 @@ local function register_sign(material, desc, def)
26042604
meta:set_string("formspec", "field[text;;${text}]")
26052605
end,
26062606
on_receive_fields = function(pos, formname, fields, sender)
2607+
if not fields.quit then
2608+
return -- workaround for https://github.com/luanti-org/luanti/issues/16187
2609+
end
26072610
local player_name = sender:get_player_name()
26082611
if minetest.is_protected(pos, player_name) then
26092612
minetest.record_protection_violation(pos, player_name)

0 commit comments

Comments
 (0)