diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-12-22 22:39:40 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-12-22 22:39:40 +0100 |
commit | d4b3c808b3e2867ce802ed9af01288638793bb2f (patch) | |
tree | e2d6eb887581c70b1226005a5552cc02eea126ac /signs/common.lua | |
parent | 029340394c79f85f5e511a5d99a64a55d1cb5f4d (diff) |
Improvement of Poster formspec for a better display.
Diffstat (limited to 'signs/common.lua')
-rw-r--r-- | signs/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |