BlacklistRegistry does too strict a check for if an object is blacklisted
pahimar opened this issue ยท 2 comments
The BlacklistRegistry had too strict a check on whether or not an object was blacklisted. For example, if "oreGold" was blacklisted (an OreStack) and an ItemStack of Gold Ore was checked against the BlacklistRegistry the check would pass and say that the ItemStack was learnable because (technically) the ItemStack was not blacklisted - the ore dictionary entry its a member of was blacklisted.
Fix is to change the BlacklistRegistry to check for oredictionary entries for an object as well to ensure all cases are covered.