Runeforging.lua: In AddRecipe(): Changed call to self:AddRecipe() to addon:AddRecipe()
James D. Callahan III [03-12-10 - 08:52]
Runeforging.lua: In AddRecipe(): Changed call to self:AddRecipe() to addon:AddRecipe()
diff --git a/Database/Runeforging.lua b/Database/Runeforging.lua
index b970366..139c58f 100644
--- a/Database/Runeforging.lua
+++ b/Database/Runeforging.lua
@@ -39,7 +39,7 @@ local num_recipes = 0
--------------------------------------------------------------------------------------------------------------------
local function AddRecipe(spell_id)
num_recipes = num_recipes + 1
- self:AddRecipe(spell_id, 1, nil, Q.COMMON, 53428, nil, V.WOTLK, 1, 1, 1, 1)
+ addon:AddRecipe(spell_id, 1, nil, Q.COMMON, 53428, nil, V.WOTLK, 1, 1, 1, 1)
end
function addon:InitRuneforging()