API doc clarification

This commit is contained in:
Jean-Patrick Guerrero
2022-11-12 19:40:06 +01:00
parent 00a258afea
commit b711f8f195
4 changed files with 16 additions and 7 deletions

View File

@ -1695,7 +1695,7 @@ local function make_fs(player, data)
local tab = i3.tabs[data.tab]
if tab then
if tab and tab.formspec then
tab.formspec(player, data, fs)
end