mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-05 14:51:34 +08:00
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.
This commit is contained in:
parent
11d65171cd
commit
788e9e84cf
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user