Update CraftBukkit to Minecraft 1.7.2

This commit is contained in:
mbax
2013-11-04 07:07:38 -06:00
committed by Wesley Wolfe
parent ff8b70fbb7
commit 2726696652
349 changed files with 14339 additions and 11287 deletions

View File

@@ -15,7 +15,7 @@ public abstract class EntityAgeable extends EntityCreature {
public boolean a(EntityHuman entityhuman) {
ItemStack itemstack = entityhuman.inventory.getItemInHand();
if (itemstack != null && itemstack.id == Item.MONSTER_EGG.id) {
if (itemstack != null && itemstack.getItem() == Items.MONSTER_EGG) {
if (!this.world.isStatic) {
Class oclass = EntityTypes.a(itemstack.getData());
@@ -46,8 +46,8 @@ public abstract class EntityAgeable extends EntityCreature {
}
}
protected void a() {
super.a();
protected void c() {
super.c();
this.datawatcher.a(12, new Integer(0));
}
@@ -83,8 +83,8 @@ public abstract class EntityAgeable extends EntityCreature {
this.ageLocked = nbttagcompound.getBoolean("AgeLocked"); // CraftBukkit
}
public void c() {
super.c();
public void e() {
super.e();
if (this.world.isStatic || this.ageLocked) { // CraftBukkit
this.a(this.isBaby());
} else {