Skip to content

Commit 2e0412b

Browse files
committed
Trader tooltip: restore jewel socket stat diffs
1 parent a9598a8 commit 2e0412b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/TradeQuery.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ function TradeQueryClass:PriceItemRowDisplay(row_idx, top_pane_alignment_ref, ro
981981
local result = self.resultTbl[row_idx][result_index]
982982
local item = new("Item", result.item_string)
983983
local targetSlot = slotTbl.nodeId and self.itemsTab.sockets[slotTbl.nodeId] or self.itemsTab.slots[slotTbl.slotName]
984-
self.itemsTab:AddItemTooltip(tooltip, item, targetSlot, dbMode, true, slotTbl.slotName)
984+
self.itemsTab:AddItemTooltip(tooltip, item, targetSlot, dbMode, true, targetSlot and targetSlot.slotName or nil)
985985
if main.slotOnlyTooltips and slotTbl.slotName == "Megalomaniac" then
986986
local evaluation = self:GetResultEvaluation(row_idx, result_index)
987987
self.itemsTab.build:AddStatComparesToTooltip(tooltip, self.onlyWeightedBaseOutput[row_idx][result_index], evaluation[1].output, "^7Equipping this item will give you:")

0 commit comments

Comments
 (0)