“formular” → “form”
This commit is contained in:
parent
a5182b7bab
commit
857f9d921c
@ -1 +1 @@
|
|||||||
A formular to easily spawn L-trees, aimed at mod developers.
|
A form to easily spawn L-trees, aimed at mod developers.
|
||||||
|
2
init.lua
2
init.lua
@ -647,7 +647,7 @@ end
|
|||||||
|
|
||||||
--[=[ Here come functions which show formspecs to players ]=]
|
--[=[ Here come functions which show formspecs to players ]=]
|
||||||
|
|
||||||
--[[ Shows the main tree formular to the given player, starting with the "Edit" tab ]]
|
--[[ Shows the main tree form to the given player, starting with the "Edit" tab ]]
|
||||||
function ltool.show_treeform(playername)
|
function ltool.show_treeform(playername)
|
||||||
local has_ledit = minetest.get_player_privs(playername)["ledit"]
|
local has_ledit = minetest.get_player_privs(playername)["ledit"]
|
||||||
local formspec = ltool.formspec_size..ltool.formspec_header(1)..ltool.tab_edit(ltool.playerinfos[playername].treeform.edit.fields, has_ledit)
|
local formspec = ltool.formspec_size..ltool.formspec_header(1)..ltool.tab_edit(ltool.playerinfos[playername].treeform.edit.fields, has_ledit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user