codetaylor / dropt-1.12

Flexible block drop strategies.
https://minecraft.curseforge.com/projects/dropt
Other
6 stars 2 forks source link

Blacklisted harvest level doesn't work as expected #43

Closed codetaylor closed 6 years ago

codetaylor commented 6 years ago

When blacklisting a harvest level, say shovel;1;-1, I expect that only shovels of harvest level equal to or greater than 1 will prevent the match.

However, the blacklist logic tests each separately and first tests if the item is a shovel. If it is, the rule match immediately fails and the harvest level range isn't checked.

I would expect the match to fail if the held item is a shovel AND within the range specified.