diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-02-29 22:31:04 +0100 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-01 01:12:41 +0000 |
commit | 33ba9f0a2f56bdba89574d25b44905af95480dbe (patch) | |
tree | dd446975bfd0406c3deac50c0bc1e156ca737698 /src/main/java/net/minecraft/server/EntityWolf.java | |
parent | 8524ff8ef7be2d386e98f65fdca14c0157e8309f (diff) | |
download | craftbukkit-33ba9f0a2f56bdba89574d25b44905af95480dbe.tar craftbukkit-33ba9f0a2f56bdba89574d25b44905af95480dbe.tar.gz craftbukkit-33ba9f0a2f56bdba89574d25b44905af95480dbe.tar.lz craftbukkit-33ba9f0a2f56bdba89574d25b44905af95480dbe.tar.xz craftbukkit-33ba9f0a2f56bdba89574d25b44905af95480dbe.zip |
Updated to rename revision 02
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityWolf.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityWolf.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/EntityWolf.java b/src/main/java/net/minecraft/server/EntityWolf.java index 2ce33461..be4607b4 100644 --- a/src/main/java/net/minecraft/server/EntityWolf.java +++ b/src/main/java/net/minecraft/server/EntityWolf.java @@ -157,7 +157,7 @@ public class EntityWolf extends EntityAnimal { this.h = true; this.i = 0.0F; this.j = 0.0F; - this.world.a(this, (byte) 8); + this.world.broadcastEntityEffect(this, (byte) 8); } } @@ -207,7 +207,7 @@ public class EntityWolf extends EntityAnimal { } } - public float y() { + public float getHeadHeight() { return this.length * 0.8F; } @@ -373,10 +373,10 @@ public class EntityWolf extends EntityAnimal { this.setHealth(20); this.setOwnerName(entityhuman.name); this.a(true); - this.world.a(this, (byte) 7); + this.world.broadcastEntityEffect(this, (byte) 7); } else { this.a(false); - this.world.a(this, (byte) 6); + this.world.broadcastEntityEffect(this, (byte) 6); } } |