MinecraftForge/MinecraftForge — pull request #1316 by GUIpsp (2014-08-12 15:49:56+00:00)
Title: Add ItemStack sensitive version of getItemEnchantability

Fixed version of #1314.

(You could also just apply https://github.com/SackCastellon/MinecraftForge/commit/bca6fb36237ff0156342b360fa0736bda52c931c.patch)