Skip to content

Commit

Permalink
Fix abyss socket items with no selectableSocketCount (eg Wraithlord)
Browse files Browse the repository at this point in the history
  • Loading branch information
Regisle committed Sep 24, 2024
1 parent 8369b44 commit bc1bd16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Classes/Item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1708,11 +1708,11 @@ function ItemClass:BuildModList()
if self.sockets then
for i, socket in ipairs(self.sockets) do
if socket.color ~= "A" then
t_insert(newSockets, socket)
group = socket.group
if #newSockets >= self.selectableSocketCount then
break
end
t_insert(newSockets, socket)
group = socket.group
end
end
end
Expand Down

0 comments on commit bc1bd16

Please sign in to comment.