update fork (again) #8

Merged
chmodsayshello merged 2270 commits from VoxeLibre/VoxeLibre:master into master 2023-01-06 20:13:54 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b8fc1c03b3 - Show all commits

View File

@ -115,7 +115,7 @@ function mcl_armor.register_set(def)
groups[k] = v
end
local upgrade_item = nil
if itemstring:find("_diamond") and def._mcl_upgrade_item_material then
if def._mcl_upgradable and def._mcl_upgrade_item_material then
upgrade_item = itemstring:gsub("_[%l%d]*$",def._mcl_upgrade_item_material)
end