mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-23 11:23:45 +01:00
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
Block a user