Improvement of Poster formspec for a better display.

This commit is contained in:
Pierre-Yves Rollo
2017-12-22 22:39:40 +01:00
parent 029340394c
commit d4b3c808b3
2 changed files with 44 additions and 18 deletions

View File

@ -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