This commit is contained in:
Crum
2018-02-20 21:50:44 -06:00
parent a56d00fac0
commit d56a8b312b
2 changed files with 2 additions and 3 deletions
@@ -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)
+1 -2
View File
@@ -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)