View Single Post
02/17/16, 01:12 AM   #8
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
My little dirty fix

Lua Code:
  1. -- TooltipControl:SetPendingSmithingItem() waits a boolean as 6th arg and GetSmithingPatternResultLink waits for a facultative integer, so drop it
  2. local itemLink
  3. if method == "SetPendingSmithingItem" then
  4.     local args = {...}
  5.     itemLink = linkFunc(args[1], args[2], args[3], args[4], args[5])
  6. else
  7.     itemLink = linkFunc(...)
  8. end
  Reply With Quote