Originally Posted by Wandamey
so yes i was passing nil, but now if i display the args I got : index,index,index,index,index,bool,nil ... haven't checked the updated function yet. obviously the bool is for isUsingUniversalStyle, but the nil?
|
The 7th parameter is nil because there is no 7th parameter, there are only 6.
Lua Code:
SMITHING.creationPanel:SetPendingSmithingItem(...)
-- is called from:
SMITHING.creationPanel:SetupResultTooltip(...)
and SetupResultTooltip(...) is passed the return values from: SMITHING.creationPanel:GetAllCraftingParameters() which only returns 6 values so there are only 6 parameters. See my code posts above.