diff --git a/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua b/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua index 05ff2a2..6c51ccf 100644 --- a/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua +++ b/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua @@ -58,7 +58,7 @@ do price_count = 24221 local byte = string.byte 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 a = byte(prices, index - 2, index) local b = byte(prices, index - 2) diff --git a/ElvUI/Modules/Bags/Bags.lua b/ElvUI/Modules/Bags/Bags.lua index 8dc7c3a..7998c7b 100644 --- a/ElvUI/Modules/Bags/Bags.lua +++ b/ElvUI/Modules/Bags/Bags.lua @@ -718,7 +718,7 @@ function B:VendorGrays(delete, _, getValue) end local c = 0 - local count = 0 + for b = 0, NUM_BAG_FRAMES do for s = 1, GetContainerNumSlots(b) do local l = GetContainerItemLink(b, s) @@ -730,7 +730,6 @@ function B:VendorGrays(delete, _, getValue) DeleteCursorItem() end c = c + p - count = count + 1 else if not getValue then UseContainerItem(b, s)