mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Merge pull request #3 from EnsignPayton/fix-gsub
Fix Gsub for Money Loot
This commit is contained in:
@@ -6,6 +6,7 @@ local M = E:GetModule("Misc");
|
||||
local max = math.max
|
||||
local tinsert = table.insert
|
||||
local unpack, pairs = unpack, pairs
|
||||
local gsub = string.gsub
|
||||
--WoW API / Variables
|
||||
local CloseLoot = CloseLoot
|
||||
local CursorOnUpdate = CursorOnUpdate
|
||||
@@ -207,7 +208,7 @@ function M:LOOT_OPENED(_, autoLoot)
|
||||
local color = ITEM_QUALITY_COLORS[quality]
|
||||
|
||||
if(LootSlotIsCoin(i)) then
|
||||
item = item:gsub("\n", ", ")
|
||||
item = gsub(item, "\n", ", ")
|
||||
end
|
||||
|
||||
if quantity and (quantity > 1) then
|
||||
|
||||
Reference in New Issue
Block a user