diff --git a/mods/HELP/doc/doc_items/init.lua b/mods/HELP/doc/doc_items/init.lua index be02b82c3..69c2bc9a0 100644 --- a/mods/HELP/doc/doc_items/init.lua +++ b/mods/HELP/doc/doc_items/init.lua @@ -1245,7 +1245,7 @@ local function gather_descs() -- 1st pass: Gather groups of interest -- Workaround for pairs(minetest.registered_items) not working as expected - local items_registered = mcl_var.items_registered + local items_registered = mcl_vars.items_registered for i = 1,#items_registered do local id = items_registered[i] local def = minetest.registered_items[id] diff --git a/mods/ITEMS/mcl_enchanting/engine.lua b/mods/ITEMS/mcl_enchanting/engine.lua index 908e0cb2d..713e4b966 100644 --- a/mods/ITEMS/mcl_enchanting/engine.lua +++ b/mods/ITEMS/mcl_enchanting/engine.lua @@ -272,7 +272,7 @@ function mcl_enchanting.initialize() local items_registered = mcl_vars.items_registered for i = 1,#items_registered do local itemname = items_registered[i] - local itemdef = minetest.registerd_items[itemname] + local itemdef = minetest.registered_items[itemname] if mcl_enchanting.can_enchant_freshly(itemname) and not mcl_enchanting.is_book(itemname) then local new_name = itemname .. "_enchanted"