36d6681eac
* Rework fuzzy comparison for 99 percent threshold The current implementation is quite convoluted and can handle 99% incorrectly when items exceed a certain damage range. * Use metadata explicitly for comparison Some item could use metadata to pack damageable and undamageable items into the same id. Thus could lead to get ItemStack#getItemDamage() to return bogus values for undamageable items.