Quantcast

Use WOTLK instead of 3 for the version check.

James D. Callahan III [03-06-10 - 21:32]
Use WOTLK instead of 3 for the version check.
Filename
Datamine.lua
diff --git a/Datamine.lua b/Datamine.lua
index 3be9e4b..ef76361 100644
--- a/Datamine.lua
+++ b/Datamine.lua
@@ -1802,7 +1802,7 @@ do

 		if not game_vers then
 			tinsert(output, "No expansion information: " .. tostring(spell_id) .. " " .. recipe_name)
-		elseif game_vers > 3 then
+		elseif game_vers > private.game_versions.WOTLK then
 			tinsert(output, "Expansion information too high: " .. tostring(spell_id) .. " " .. recipe_name)
 		end
 		local optimal = recipe.optimal_level