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 authored Oct 20, 2024
1 parent c1904df commit 921aba3
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 @@ -1704,11 +1704,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 921aba3

Please sign in to comment.