loot: fix last comma in loot frame

This commit is contained in:
Artur Morozov
2018-05-17 16:20:18 +02: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] local color = ITEM_QUALITY_COLORS[quality]
if(LootSlotIsCoin(id)) then if(LootSlotIsCoin(id)) then
item = string.gsub(item,"\n", ", ") item = string.gsub(string.gsub(item,"\n", ", "), ", $", "")
end end
if(quantity > 1) then if(quantity > 1) then