Skip to content

Commit b6436f6

Browse files
authored
Merge pull request #2137 from Wires77/enchantment_hotfix
Fixing enchantments on boots
2 parents 8818be1 + ab2bd11 commit b6436f6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Classes/ItemsTab.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,13 @@ function ItemsTabClass:EnchantDisplayItem(enchantSlot)
17191719

17201720
local controls = { }
17211721
local enchantments = self.displayItem.enchantments
1722-
local haveSkills = not self.displayItem.enchantments[self.build.data.labyrinths[1].name]
1722+
local haveSkills = true
1723+
for _, lab in ipairs(self.build.data.labyrinths) do
1724+
if self.displayItem.enchantments[lab.name] then
1725+
haveSkills = false
1726+
break
1727+
end
1728+
end
17231729
local skillList = { }
17241730
local skillsUsed = { }
17251731
if haveSkills then

0 commit comments

Comments
 (0)