From ca0ed4facf87aeebd1162feefd85ba2abed2c531 Mon Sep 17 00:00:00 2001 From: Artur Morozov Date: Thu, 17 May 2018 17:20:18 +0300 Subject: [PATCH] loot: fix last comma in loot frame --- modules/loot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/loot.lua b/modules/loot.lua index 5a6a5e55..aabe7694 100644 --- a/modules/loot.lua +++ b/modules/loot.lua @@ -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