diff options
author | Andrew Ardill <andrew.ardill@gmail.com> | 2011-01-21 16:54:30 +1100 |
---|---|---|
committer | Andrew Ardill <andrew.ardill@gmail.com> | 2011-01-21 16:54:30 +1100 |
commit | 1cbde901bacb7620e555d1725c95619641caba8e (patch) | |
tree | 60157572f1bff78ecd6ede7f9f443f138e01c9fe /src/main/java/net/minecraft/server/EntityCow.java | |
parent | 1dad7de4f34982efff946ec51ca576902d79bb8e (diff) | |
download | craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar.gz craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar.lz craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar.xz craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.zip |
Entity audit. Adds checks for null entities, and adds conformity.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityCow.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityCow.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/EntityCow.java b/src/main/java/net/minecraft/server/EntityCow.java index d19d40d1..a6dabbd6 100644 --- a/src/main/java/net/minecraft/server/EntityCow.java +++ b/src/main/java/net/minecraft/server/EntityCow.java @@ -1,9 +1,9 @@ package net.minecraft.server; -//CraftBukkit start +// CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftCow; -//CraftBukkit end +// CraftBukkit end public class EntityCow extends EntityAnimals { @@ -11,10 +11,10 @@ public class EntityCow extends EntityAnimals { super(world); aP = "/mob/cow.png"; a(0.9F, 1.3F); - //CraftBukkit start + // CraftBukkit start CraftServer server = ((WorldServer) this.l).getServer(); this.bukkitEntity = new CraftCow(server, this); - //CraftBukkit end + // CraftBukkit end } public void a(NBTTagCompound nbttagcompound) { |