Skip to content

Commit

Permalink
Fix #67: Error on refunding item with merchant
Browse files Browse the repository at this point in the history
  • Loading branch information
Mctalian committed Aug 26, 2024
1 parent 0649e65 commit c1df0ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LootDisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ end
function LootDisplay:ShowMoney(copper)
local key = "MONEY_LOOT" -- Use ID as a unique key
local text

if not copper or copper <= 0 then
return
end

-- Check if the item or currency is already displayed
local row = getRow(key)
Expand Down

0 comments on commit c1df0ac

Please sign in to comment.