From dbb009cd7b55d4b83c3a1a28a531cdbfa438774a Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 9 Apr 2010 00:01:17 -0400 Subject: [PATCH] In Player:MarkExclusions(): Replaced raw bit.band() use with recipe:HasState() --- Player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player.lua b/Player.lua index 896d299..c0b088f 100644 --- a/Player.lua +++ b/Player.lua @@ -76,7 +76,7 @@ function Player:MarkExclusions() for spell_id in pairs(exclusion_list) do local recipe = recipe_list[spell_id] - local is_known = (bit.band(recipe.state, SF.KNOWN) == SF.KNOWN) + local is_known = recipe:HasState("KNOWN") if recipe then if is_known and recipe.profession == profession then -- 1.7.9.5