view QueueSupport/ATSW.lua @ 153:613fd4bc6999

Ticket 45 - Fixed a bug that caused the crafting window to craft if you turn off all of the deciders. Fixed an issue where the crafting window would crash if GetTradeSkillReagentItemLink() failed to return a link. This happened with my Wild Turkey
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sat, 04 Dec 2010 08:41:44 -0800
parents 47885ba83d38
children
line wrap: on
line source
local function ATSWQueue(data)
	if ATSW_AddJobLL then
		ATSW_AddJobLL(data.skillName, data.queue)
	else
		print("Unable to find ATSW")
	end
end
IAapi.RegisterQueueDestination('ATSW', ATSWQueue)