Old Lua didnt like the OO-style syntax

This commit is contained in:
Logan Payton
2018-02-20 13:00:39 -05:00
parent b8c15d6318
commit 844ed68db9
+1 -1
View File
@@ -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