Updated to use mc-dev rename revision 1

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot
2011-11-29 23:17:43 +00:00
parent 540f893f86
commit 0939b7a7f9
17 changed files with 69 additions and 70 deletions

View File

@@ -50,7 +50,7 @@ public class CraftEnchantment extends Enchantment {
@Override
public boolean canEnchantItem(ItemStack item) {
return target.slot.a(Item.byId[item.getTypeId()]);
return target.slot.canEnchant(Item.byId[item.getTypeId()]);
}
@Override