From d4b3c808b3e2867ce802ed9af01288638793bb2f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Fri, 22 Dec 2017 22:39:40 +0100 Subject: Improvement of Poster formspec for a better display. --- signs/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'signs/common.lua') diff --git a/signs/common.lua b/signs/common.lua index 559f7f7..44fd5bf 100644 --- a/signs/common.lua +++ b/signs/common.lua @@ -125,7 +125,7 @@ end -- Generic callback for show_formspec displayed formspecs of "sign" mod minetest.register_on_player_receive_fields(function(player, formname, fields) - local found, _, mod, node_name, pos = formname:find("([%w_]+):([%w_]+)@(.+)") + local found, _, mod, node_name, pos = formname:find("^([%w_]+):([%w_]+)@([^:]+)") if found then if mod ~= 'signs' then return end -- cgit v1.2.3