From e56b2108f2a3bbbf0a6f03d0a00f0d85d84c9027 Mon Sep 17 00:00:00 2001 From: pompachomp Date: Sat, 26 Sep 2009 14:54:56 +0000 Subject: [PATCH] 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. --- RecipeDB/ARL-Blacksmith.lua | 2 +- RecipeDB/ARL-Leatherwork.lua | 2 +- RecipeDB/ARL-Tailor.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.9.5