mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
cleanup
This commit is contained in:
@@ -58,7 +58,7 @@ do
|
|||||||
price_count = 24221
|
price_count = 24221
|
||||||
local byte = string.byte
|
local byte = string.byte
|
||||||
function get(id)
|
function get(id)
|
||||||
if id and id <= 39656 and id > 0 then
|
if id and id <= 24283 and id > 0 then
|
||||||
local index = id * 3
|
local index = id * 3
|
||||||
local a = byte(prices, index - 2, index)
|
local a = byte(prices, index - 2, index)
|
||||||
local b = byte(prices, index - 2)
|
local b = byte(prices, index - 2)
|
||||||
|
|||||||
@@ -718,7 +718,7 @@ function B:VendorGrays(delete, _, getValue)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local c = 0
|
local c = 0
|
||||||
local count = 0
|
|
||||||
for b = 0, NUM_BAG_FRAMES do
|
for b = 0, NUM_BAG_FRAMES do
|
||||||
for s = 1, GetContainerNumSlots(b) do
|
for s = 1, GetContainerNumSlots(b) do
|
||||||
local l = GetContainerItemLink(b, s)
|
local l = GetContainerItemLink(b, s)
|
||||||
@@ -730,7 +730,6 @@ function B:VendorGrays(delete, _, getValue)
|
|||||||
DeleteCursorItem()
|
DeleteCursorItem()
|
||||||
end
|
end
|
||||||
c = c + p
|
c = c + p
|
||||||
count = count + 1
|
|
||||||
else
|
else
|
||||||
if not getValue then
|
if not getValue then
|
||||||
UseContainerItem(b, s)
|
UseContainerItem(b, s)
|
||||||
|
|||||||
Reference in New Issue
Block a user