diff --git a/mods/ITEMS/mcl_armor_trims/init.lua b/mods/ITEMS/mcl_armor_trims/init.lua index d99122f8ea..27b6b360e2 100644 --- a/mods/ITEMS/mcl_armor_trims/init.lua +++ b/mods/ITEMS/mcl_armor_trims/init.lua @@ -1,13 +1,13 @@ mcl_armor_trims = { + blacklisted = {["mcl_farming:pumpkin_face"]=true, ["mcl_armor:elytra"]=true, ["mcl_armor:elytra_enchanted"]=true}, overlays = {"sentry","dune","coast","wild","tide","ward","vex","rib","snout","eye","spire"}, colors = {"bf352d"} } - local function define_items() local register_list = {} for itemname, itemdef in pairs(minetest.registered_items) do - if itemdef._mcl_armor_texture and type(itemdef._mcl_armor_texture) == "string" then + 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 minetest.override_item(itemname, {_mcl_armor_trims_trim = new_name})