Skip to content

Commit 84433c9

Browse files
committed
Fix heart of the well slot crash
1 parent 05219ed commit 84433c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Classes/TradeQuery.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,8 @@ function TradeQueryClass:PriceItemRowDisplay(row_idx, top_pane_alignment_ref, ro
969969
local controls = self.controls
970970
local slotTbl = self.slotTables[row_idx]
971971
local activeSlotRef = slotTbl.nodeId and self.itemsTab.activeItemSet[slotTbl.nodeId] or self.itemsTab.activeItemSet[slotTbl.slotName]
972-
local activeSlot = slotTbl.nodeId and self.itemsTab.sockets[slotTbl.nodeId] or
972+
local nodeId = slotTbl.nodeId or slotTbl.selectedJewelNodeId
973+
local activeSlot = nodeId and self.itemsTab.sockets[nodeId] or
973974
slotTbl.slotName and (self.itemsTab.slots[slotTbl.slotName] or
974975
slotTbl.slotName == "Watcher's Eye" and self:findValidSlotForWatchersEye() or
975976
slotTbl.fullName and self.itemsTab.slots[slotTbl.fullName]) -- fullName for Abyssal Sockets

0 commit comments

Comments
 (0)