From 788e9e84cf9fa4209553c382498f5de2ccc17a97 Mon Sep 17 00:00:00 2001 From: h31ix Date: Sun, 28 Oct 2012 02:28:53 -0400 Subject: [PATCH] Fix incorrect method names missed during update. Fixes BUKKIT-2653 A couple method names were changed between 1.3.2 and 1.4.2 but were missed in the update. One of these affects being able to enchant bows and the other is used for updating player animations while firing. --- src/main/java/net/minecraft/server/ItemBow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minecraft/server/ItemBow.java b/src/main/java/net/minecraft/server/ItemBow.java index a5f278bb17..90c3bd4442 100644 --- a/src/main/java/net/minecraft/server/ItemBow.java +++ b/src/main/java/net/minecraft/server/ItemBow.java @@ -78,7 +78,7 @@ public class ItemBow extends Item { return 72000; } - public EnumAnimation b(ItemStack itemstack) { + public EnumAnimation d_(ItemStack itemstack) { return EnumAnimation.e; } @@ -90,7 +90,7 @@ public class ItemBow extends Item { return itemstack; } - public int b() { + public int c() { return 1; } }