Smelding is not a spell anymore
Mikeprod [08-07-16 - 01:19]
Smelding is not a spell anymore
diff --git a/modules/tradeskill.lua b/modules/tradeskill.lua
index f5827e2..de49975 100644
--- a/modules/tradeskill.lua
+++ b/modules/tradeskill.lua
@@ -93,7 +93,7 @@ primaryTradeSkillFrame:SetScript("OnClick", function(self, button, down)
elseif(GetProfessionInfo(prof1) == ('Skinning')) then
ToggleSpellBook(BOOKTYPE_PROFESSION)
elseif(GetProfessionInfo(prof1) == ('Mining')) then
- CastSpellByName("Smelting")
+ ToggleSpellBook(BOOKTYPE_PROFESSION)
else
CastSpellByName((GetProfessionInfo(prof1)))
end
@@ -160,7 +160,7 @@ secondaryTradeSkillFrame:SetScript("OnClick", function(self, button, down)
elseif(GetProfessionInfo(prof2) == ('Skinning')) then
ToggleSpellBook(BOOKTYPE_PROFESSION)
elseif(GetProfessionInfo(prof2) == ('Mining')) then
- CastSpellByName("Smelting")
+ ToggleSpellBook(BOOKTYPE_PROFESSION)
else
CastSpellByName((GetProfessionInfo(prof2)))
end