Couple of fixes and a new feature for bank/GB (#25)
* Exclude crafting spells using Fel Blood Updated cost calculation to exclude spells using Fel Blood in crafting. * Epoch lua error fix * Slow mail loot when low FPS to avoid double looting * Allowing withdrawing items from bank/GB using "AH shortfall" to withdraw based on post cap and now ALSO minPrice of those items has to be above current DBMinBuyout. * Fixing an infinite loop bug with invalid custom price of Default Craft Value Method --------- Co-authored-by: Szyler <Szyler@Szyler.com>
This commit is contained in:
@@ -239,8 +239,12 @@ function TSM:OnInitialize()
|
||||
-- check if item is cached
|
||||
local _,_,itemID = itemString:find("item:(%d+)")
|
||||
if itemID then
|
||||
local item = Item:CreateFromID(itemID)
|
||||
item:Query()
|
||||
if Item then
|
||||
local item = Item:CreateFromID(itemID)
|
||||
item:Query()
|
||||
else
|
||||
TSMAPI:GetSafeItemInfo(tonumber(itemID))
|
||||
end
|
||||
end
|
||||
if strfind(itemString, " ") then
|
||||
local newItemString = gsub(itemString, " ", "")
|
||||
|
||||
Reference in New Issue
Block a user