Update CraftBukkit to 1.6.2

This commit is contained in:
mbax
2013-07-08 19:43:37 -04:00
parent 2d9a9d8cea
commit f6a0b1e426
87 changed files with 1162 additions and 1112 deletions

View File

@@ -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();
}
}