fix typo in mcl_craftguide

This commit is contained in:
AFCMS 2021-06-28 13:46:18 +02:00
parent 16d79c38ce
commit a9ceeabc4b

View file

@ -155,7 +155,7 @@ end
local custom_crafts, craft_types = {}, {} local custom_crafts, craft_types = {}, {}
function mcl_craftguide.register_craft_type(name, def) function mcl_craftguide.register_craft_type(name, def)
local func = "mcl_craftguide.register_craft_guide(): " local func = "mcl_craftguide.register_craft_type(): "
assert(name, func .. "'name' field missing") assert(name, func .. "'name' field missing")
assert(def.description, func .. "'description' field missing") assert(def.description, func .. "'description' field missing")
assert(def.icon, func .. "'icon' field missing") assert(def.icon, func .. "'icon' field missing")