mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-11-28 00:53:49 +01:00
Add underscore variable declaration
This commit is contained in:
parent
d44bf53ea2
commit
e149447ebc
@ -202,8 +202,7 @@ end
|
|||||||
|
|
||||||
-- Generic callback for show_formspec displayed formspecs
|
-- Generic callback for show_formspec displayed formspecs
|
||||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||||
local found, mod, node_name, pos
|
local found, _, mod, node_name, pos = formname:find("([%w_]+):([%w_]+)@(.+)")
|
||||||
found, _, mod, node_name, pos = formname:find("([%w_]+):([%w_]+)@(.+)")
|
|
||||||
|
|
||||||
if found then
|
if found then
|
||||||
if mod ~= 'signs' then return end
|
if mod ~= 'signs' then return end
|
||||||
|
Loading…
Reference in New Issue
Block a user