From c1fc68ee3370bd8cf1c76c10f1ba1df28cb476d8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 17 May 2018 21:28:18 +0200 Subject: [PATCH] Fix incorrect initialization of database.textlist --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 5082319..3e6e3b5 100644 --- a/init.lua +++ b/init.lua @@ -1368,7 +1368,7 @@ function ltool.join(player) infotable.treeform.database = {} --[[ This table stores a mapping of the textlist IDs in the database formspec and the tree IDs. It is updated each time ltool.tab_database is called. ]] - infotable.treeform.database.textlist = nil + infotable.treeform.database.textlist = {} --[[ the “fields” tables store the values of the input fields of a formspec. It is updated whenever the formspec is changed, i.e. on tab change ]] infotable.treeform.database.fields = {} -- 2.11.4.GIT