diff --git a/ElvUI/Modules/Misc/Loot.lua b/ElvUI/Modules/Misc/Loot.lua index 50d05da..a35b944 100644 --- a/ElvUI/Modules/Misc/Loot.lua +++ b/ElvUI/Modules/Misc/Loot.lua @@ -207,7 +207,7 @@ function M:LOOT_OPENED(_, autoLoot) local color = ITEM_QUALITY_COLORS[quality] if(LootSlotIsCoin(i)) then - item = item:gsub("\n", ", ") + item = string.gsub(item, "\n", ", ") end if quantity and (quantity > 1) then