comparison SecureMenu.lua @ 85:996aaa818d04 v1.0beta4

Clarify error message with cross-tradeskill, and clarify the use of GetTradeSkillLine() internally
author contrebasse
date Sun, 15 May 2011 12:45:52 +0200
parents 9d487333bf10
children c369a2e16ab6
comparison
equal deleted inserted replaced
84:10a6078e132f 85:996aaa818d04
337 -- Special spell 337 -- Special spell
338 existsValidEntries = true 338 existsValidEntries = true
339 noSkipped = menuAddItem(reagent.macro,itemID,reagent) and noSkipped 339 noSkipped = menuAddItem(reagent.macro,itemID,reagent) and noSkipped
340 else 340 else
341 -- Standard tradeskill spell 341 -- Standard tradeskill spell
342 if reagent.spellID == A.currentTradeSkill then 342 if reagent.spellName == A.currentTradeSkill then
343 existsValidEntries = true 343 existsValidEntries = true
344 noSkipped = menuAddItem(A.craft,itemID,reagent) and noSkipped 344 noSkipped = menuAddItem(A.craft,itemID,reagent) and noSkipped
345 end 345 end
346 end -- if 346 end -- if
347 end -- for 347 end -- for