Quantcast

Fix bop flags.

ackis [06-09-09 - 17:07]
Fix bop flags.
Filename
ARLDatamine.lua
RecipeDB/ARL-Leatherwork.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 8dc555b..7242f9f 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -2195,9 +2195,11 @@ do
 			-- Check for recipe/item binding
 			-- The recipe binding is within the first few lines of the tooltip always
 			if ((strmatch(text, "binds when picked up")) and (i < 4)) then
-				scan_data.boprecipe = true
-			elseif ((strmatch(text, "binds when picked up")) and (i > 3)) then
-				scan_data.bopitem = true
+				if (is_item) then
+					scan_data.bopitem = true
+				else
+					scan_data.boprecipe = true
+				end
 			end

 			-- Recipe Specialities
diff --git a/RecipeDB/ARL-Leatherwork.lua b/RecipeDB/ARL-Leatherwork.lua
index d6b32f2..79777c9 100644
--- a/RecipeDB/ARL-Leatherwork.lua
+++ b/RecipeDB/ARL-Leatherwork.lua
@@ -1306,7 +1306,7 @@ function addon:InitLeatherworking(RecipeDB)

 	-- Wild Draenish Vest -- 32481
 	self:addTradeSkill(RecipeDB,32481,330,25676,1,2108)
-	self:addTradeFlags(RecipeDB,32481,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,57)
+	self:addTradeFlags(RecipeDB,32481,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,54,57)
 	self:addTradeAcquire(RecipeDB,32481,1,18754,1,18771,1,19187,1,21087)

 	-- Comfortable Insoles -- 32482