Update CraftBukkit to 1.6.2
This commit is contained in:
@@ -206,7 +206,7 @@ public final class ItemStack {
|
||||
public void damage(int i, EntityLiving entityliving) {
|
||||
if (!(entityliving instanceof EntityHuman) || !((EntityHuman) entityliving).abilities.canInstantlyBuild) {
|
||||
if (this.g()) {
|
||||
if (this.isDamaged(i, entityliving.aB())) {
|
||||
if (this.isDamaged(i, entityliving.aC())) {
|
||||
entityliving.a(this);
|
||||
--this.count;
|
||||
if (entityliving instanceof EntityHuman) {
|
||||
@@ -214,7 +214,7 @@ public final class ItemStack {
|
||||
|
||||
entityhuman.a(StatisticList.F[this.id], 1);
|
||||
if (this.count == 0 && this.getItem() instanceof ItemBow) {
|
||||
entityhuman.bu();
|
||||
entityhuman.by();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user