forked from VoxeLibre/VoxeLibre
Fix typos
This commit is contained in:
parent
40cfb18f0f
commit
b8f9cc5d5f
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue