Fix crash regarding craftitems
This commit is contained in:
parent
ecb88e3dc6
commit
7b6c7bd734
1
init.lua
1
init.lua
@ -632,6 +632,7 @@ doc.new_category("craftitems", {
|
|||||||
if data then
|
if data then
|
||||||
local longdesc = data.longdesc
|
local longdesc = data.longdesc
|
||||||
local usagehelp = data.usagehelp
|
local usagehelp = data.usagehelp
|
||||||
|
local formstring = ""
|
||||||
if data.image ~= nil then
|
if data.image ~= nil then
|
||||||
formstring = formstring .. "image[11,0;1,1;"..data.image.."]"
|
formstring = formstring .. "image[11,0;1,1;"..data.image.."]"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user