summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorh31ix <effectsdude@gmail.com>2012-10-28 02:28:53 -0400
committerEvilSeph <evilseph@gmail.com>2012-10-28 03:06:59 -0400
commit788e9e84cf9fa4209553c382498f5de2ccc17a97 (patch)
treebdb22a107581e096a82cbeccb03996ace90d8136 /src/main/java/net/minecraft/server
parent11d65171cd42cba6fc187ae0ae664dbd62281382 (diff)
downloadcraftbukkit-788e9e84cf9fa4209553c382498f5de2ccc17a97.tar
craftbukkit-788e9e84cf9fa4209553c382498f5de2ccc17a97.tar.gz
craftbukkit-788e9e84cf9fa4209553c382498f5de2ccc17a97.tar.lz
craftbukkit-788e9e84cf9fa4209553c382498f5de2ccc17a97.tar.xz
craftbukkit-788e9e84cf9fa4209553c382498f5de2ccc17a97.zip
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.
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/ItemBow.java4
1 files 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 a5f278bb..90c3bd44 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;
}
}