Skip to content

Commit

Permalink
Show debug output for bag items
Browse files Browse the repository at this point in the history
  • Loading branch information
seriallos committed Nov 7, 2022
1 parent 91b2a62 commit 3a2cb1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function Simulationcraft:GetItemStrings(debugOutput)
return items
end

function Simulationcraft:GetBagItemStrings()
function Simulationcraft:GetBagItemStrings(debugOutput)
local bagItems = {}

for slotNum=1, #slotNames do
Expand Down Expand Up @@ -604,7 +604,7 @@ function Simulationcraft:GetBagItemStrings()
-- find all equippable, non-artifact items
if IsEquippableItem(itemLink) and quality ~= 6 then
bagItems[#bagItems + 1] = {
string = GetItemStringFromItemLink(slotNum, itemLink, itemLoc, false),
string = GetItemStringFromItemLink(slotNum, itemLink, itemLoc, debugOutput),
name = name .. (level and ' (' .. level .. ')' or '')
}
end
Expand Down Expand Up @@ -1009,7 +1009,7 @@ function Simulationcraft:PrintSimcProfile(debugOutput, noBags, showMerchant, lin

-- output gear from bags
if noBags == false then
local bagItems = Simulationcraft:GetBagItemStrings()
local bagItems = Simulationcraft:GetBagItemStrings(debugOutput)

if #bagItems > 0 then
simulationcraftProfile = simulationcraftProfile .. '\n'
Expand Down

0 comments on commit 3a2cb1f

Please sign in to comment.