From a56d00fac0c86d84ec614641a2cd57d057189d67 Mon Sep 17 00:00:00 2001 From: Crum Date: Tue, 20 Feb 2018 17:20:19 -0600 Subject: [PATCH] maybe closer? some prices appear correct --- ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua b/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua index 69497d1..05ff2a2 100644 --- a/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua +++ b/ElvUI/Libraries/LibItemPrice-1.1/LibItemPrice-1.1.lua @@ -60,9 +60,9 @@ do function get(id) if id and id <= 39656 and id > 0 then local index = id * 3 - local a, b, c = byte(prices, index - 2, index) - local b = byte(index - 2) - local c = byte(index) + local a = byte(prices, index - 2, index) + local b = byte(prices, index - 2) + local c = byte(prices, index) if a == 122 and b == 122 and c == 122 then return 0 end if b == 0 then if c == 0 then