Quantcast

Fixed the faction checks for the Trial of the Crusader recipes in the Blacksmithing, Leatherworking, and Tailoring databases. They weren't showing up on non-enUS clients.

pompachomp [09-26-09 - 14:54]
Fixed the faction checks for the Trial of the Crusader recipes in the Blacksmithing, Leatherworking, and Tailoring databases.  They weren't showing up on non-enUS clients.
Filename
RecipeDB/ARL-Blacksmith.lua
RecipeDB/ARL-Leatherwork.lua
RecipeDB/ARL-Tailor.lua
diff --git a/RecipeDB/ARL-Blacksmith.lua b/RecipeDB/ARL-Blacksmith.lua
index aa70ecc..97eca22 100644
--- a/RecipeDB/ARL-Blacksmith.lua
+++ b/RecipeDB/ARL-Blacksmith.lua
@@ -2595,7 +2595,7 @@ function addon:InitBlacksmithing(RecipeDB)
 	-- Some recipes are only availible to specific factions.
 	-- We only add the faction specific recipes if the user is part of that faction
 	local BFAC = LibStub("LibBabble-Faction-3.0"):GetLookupTable()
-	local faction = UnitFactionGroup("player")
+	local _,faction = UnitFactionGroup("player")
 	-- Counter for how many faction specific recipes we have
 	local factioncount = 0

diff --git a/RecipeDB/ARL-Leatherwork.lua b/RecipeDB/ARL-Leatherwork.lua
index 1911237..c82db79 100644
--- a/RecipeDB/ARL-Leatherwork.lua
+++ b/RecipeDB/ARL-Leatherwork.lua
@@ -2802,7 +2802,7 @@ function addon:InitLeatherworking(RecipeDB)
 	-- Some recipes are only availible to specific factions.
 	-- We only add the faction specific recipes if the user is part of that faction
 	local BFAC = LibStub("LibBabble-Faction-3.0"):GetLookupTable()
-	local faction = UnitFactionGroup("player")
+	local _,faction = UnitFactionGroup("player")
 	-- Counter for how many faction specific recipes we have
 	local factioncount = 0

diff --git a/RecipeDB/ARL-Tailor.lua b/RecipeDB/ARL-Tailor.lua
index fce64ad..704f9d6 100644
--- a/RecipeDB/ARL-Tailor.lua
+++ b/RecipeDB/ARL-Tailor.lua
@@ -2277,7 +2277,7 @@ function addon:InitTailoring(RecipeDB)
 	-- Some recipes are only availible to specific factions.
 	-- We only add the faction specific recipes if the user is part of that faction
 	local BFAC = LibStub("LibBabble-Faction-3.0"):GetLookupTable()
-	local faction = UnitFactionGroup("player")
+	local _,faction = UnitFactionGroup("player")
 	-- Counter for how many faction specific recipes we have
 	local factioncount = 0