Quantcast

In giveDatamine(): Call tonumber(v) in scanspellid.set() so the recipe will be recognized.

torhal [06-11-09 - 19:04]
In giveDatamine(): Call tonumber(v) in scanspellid.set() so the recipe will be recognized.
Filename
ARLConfig.lua
diff --git a/ARLConfig.lua b/ARLConfig.lua
index c5b0a5c..05150f5 100644
--- a/ARLConfig.lua
+++ b/ARLConfig.lua
@@ -1326,7 +1326,7 @@ local function giveDatamine()
 					name = L["Scan Spell ID"],
 					desc = L["SCAN_SPELL_ID_DESC"],
 					get = false,
-					set = function(info, v) addon:TooltipScanRecipe(v) end,
+					set = function(info, v) addon:TooltipScanRecipe(tonumber(v)) end,
 					order = 80,
 				},
 				scantrainers = {