Skip to content

Commit 16eb056

Browse files
committed
Unequip jewels from inactive abyss sockets
1 parent a24670f commit 16eb056

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Classes/ItemSlotControl.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ function ItemSlotClass:Populate()
102102
end
103103
for i, abyssalSocket in ipairs(self.abyssalSocketList) do
104104
abyssalSocket.inactive = i > abyssalSocketCount
105+
if abyssalSocket.inactive then
106+
-- this can be inconvenient, but otherwise it is possible to double
107+
-- equip jewels by moving the jewel while the socket is inactive
108+
abyssalSocket:SetSelItemId(0)
109+
end
105110
end
106111
end
107112

0 commit comments

Comments
 (0)