From 28cd2e906e6406803d74776435d36b4150f8237f Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 20 Mar 2016 02:11:27 +0100 Subject: [PATCH] small fix --- scan_util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan_util.lua b/scan_util.lua index 3434b4b..8337f15 100644 --- a/scan_util.lua +++ b/scan_util.lua @@ -252,7 +252,7 @@ m.filters = { amount = Aux.money.from_string(amount or '') or 0 if amount > 0 then return function(auction_record) - return Aux.disenchant.value(auction_record.item_key) and Aux.disenchant.value(auction_record.item_key) - auction_record.bid_price >= amount + return Aux.disenchant.value(auction_record.item_id) and Aux.disenchant.value(auction_record.item_id) - auction_record.bid_price >= amount end else return false, {}, 'Erroneous Bid Disenchant Profit Modifier' @@ -266,7 +266,7 @@ m.filters = { amount = Aux.money.from_string(amount or '') or 0 if amount > 0 then return function(auction_record) - return Aux.disenchant.value(auction_record.item_key) and Aux.disenchant.value(auction_record.item_key) - auction_record.buyout_price >= amount + return Aux.disenchant.value(auction_record.item_id) and Aux.disenchant.value(auction_record.item_id) - auction_record.buyout_price >= amount end else return false, {}, 'Erroneous Buyout Disenchant Profit Modifier'