From 844ed68db90a087227d2359e844633b5c1b70362 Mon Sep 17 00:00:00 2001 From: Logan Payton Date: Tue, 20 Feb 2018 13:00:39 -0500 Subject: [PATCH] Old Lua didnt like the OO-style syntax --- ElvUI/Modules/Misc/Loot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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