fix typo in mcl_craftguide
parent
16d79c38ce
commit
a9ceeabc4b
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue