summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-16 18:01:33 +0200
committerWuzzy <almikes@aol.com>2016-08-16 18:01:33 +0200
commit7b6c7bd734ca1dd50eea2958500842d9c97aab36 (patch)
tree9a6b103a12cb47288a019c7515bdbb09272feeeb /init.lua
parentecb88e3dc6a99a6caa364c382ec089a4b4aaea2e (diff)
Fix crash regarding craftitems
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 84ed296..b2d9174 100644
--- a/init.lua
+++ b/init.lua
@@ -632,6 +632,7 @@ doc.new_category("craftitems", {
if data then
local longdesc = data.longdesc
local usagehelp = data.usagehelp
+ local formstring = ""
if data.image ~= nil then
formstring = formstring .. "image[11,0;1,1;"..data.image.."]"
else