From 6c09066e224ac85b8a6464eaf8f53edfeb4beda4 Mon Sep 17 00:00:00 2001 From: Nate Mortensen Date: Mon, 1 Jul 2013 06:03:00 -0500 Subject: Update CraftBukkit to 1.6.1 --- src/main/java/net/minecraft/server/EntityMushroomCow.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main/java/net/minecraft/server/EntityMushroomCow.java') diff --git a/src/main/java/net/minecraft/server/EntityMushroomCow.java b/src/main/java/net/minecraft/server/EntityMushroomCow.java index 3f22c9fc..abf7d270 100644 --- a/src/main/java/net/minecraft/server/EntityMushroomCow.java +++ b/src/main/java/net/minecraft/server/EntityMushroomCow.java @@ -6,11 +6,10 @@ public class EntityMushroomCow extends EntityCow { public EntityMushroomCow(World world) { super(world); - this.texture = "/mob/redcow.png"; this.a(0.9F, 1.3F); } - public boolean a_(EntityHuman entityhuman) { + public boolean a(EntityHuman entityhuman) { ItemStack itemstack = entityhuman.inventory.getItemInHand(); if (itemstack != null && itemstack.id == Item.BOWL.id && this.getAge() >= 0) { @@ -42,7 +41,7 @@ public class EntityMushroomCow extends EntityCow { entitycow.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, this.pitch); entitycow.setHealth(this.getHealth()); - entitycow.ay = this.ay; + entitycow.aN = this.aN; this.world.addEntity(entitycow); for (int i = 0; i < 5; ++i) { @@ -52,7 +51,7 @@ public class EntityMushroomCow extends EntityCow { return true; } else { - return super.a_(entityhuman); + return super.a(entityhuman); } } -- cgit v1.2.3