mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
loop through tools instead of items
This commit is contained in:
parent
b154f2def1
commit
483285a612
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ mcl_armor_trims = {
|
|||
|
||||
local function define_items()
|
||||
local register_list = {}
|
||||
for itemname, itemdef in pairs(minetest.registered_items) do
|
||||
for itemname, itemdef in pairs(minetest.registered_tools) do
|
||||
if itemdef._mcl_armor_texture and type(itemdef._mcl_armor_texture) == "string" and not mcl_armor_trims.blacklisted[itemname] then
|
||||
for _, overlay in pairs(mcl_armor_trims.overlays) do
|
||||
local new_name = itemname .. "_trimmed_" .. overlay
|
||||
|
|
Loading…
Reference in a new issue