Equivalent Exchange 3

Equivalent Exchange 3

2M Downloads

BlacklistRegistry does too strict a check for if an object is blacklisted

pahimar opened this issue ยท 2 comments

commented

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.

commented
commented

And @x3n0ph0b3 helped!