Bukkit/CraftBukkit — pull request #905 by h31ix (2012-10-28 06:31:19+00:00)
Title: Fixed wrong method names/Bow enchantability

Two methods in ItemBow.java, b(ItemStack ...) and b() should have been named d_(ItemStack ...) and c() respectively.

This solves issues with returning item enchantability not overriding the default for Item (0), and thus bows not registering as enchantable items when put into an enchanting table.

Leaky: https://bukkit.atlassian.net/browse/BUKKIT-2653