loot: fix last comma in loot frame

This commit is contained in:
2018-05-17 17:20:18 +03:00
committed by Shagu
parent 5a96fbc241
commit ca0ed4facf
+1 -1
View File
@@ -438,7 +438,7 @@ pfUI:RegisterModule("loot", function ()
local color = ITEM_QUALITY_COLORS[quality]
if(LootSlotIsCoin(id)) then
item = string.gsub(item,"\n", ", ")
item = string.gsub(string.gsub(item,"\n", ", "), ", $", "")
end
if(quantity > 1) then