update readme and check if item key exists
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# AUX Turtle
|
||||
# aux Turtle
|
||||
|
||||
* Shares some price data through the LFT chat when scanning items, use **/aux sharing** to disable sending and receiving data.
|
||||
* Shares some price data through the LFT chat when searching the AH, use **/aux sharing** to disable sending and receiving data.
|
||||
* Accurate auction durations for Turtle WoW.
|
||||
* Autocompletion for custom Turtle WoW items.
|
||||
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ AUX_data_sharer:SetScript("OnEvent", function()
|
||||
if msg == "AuxData" then
|
||||
if arg2 ~= AUXplayerName then
|
||||
local unit_buyout_price = tonumber (munit_buyout_price)
|
||||
if unit_buyout_price then
|
||||
if unit_buyout_price and item_key then
|
||||
--print("received data:" .. msg .. "," .. item_key .. "," .. unit_buyout_price); --for testing (print comes from PFUI)
|
||||
local item_record = read_record(item_key)
|
||||
if unit_buyout_price > 0 and unit_buyout_price < (item_record.daily_min_buyout or aux.huge) then
|
||||
|
||||
Reference in New Issue
Block a user