diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-14 23:02:10 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-15 10:54:57 +0100 |
commit | a4ce846d07e8f5a0e350e49718aaf3d460658f0f (patch) | |
tree | 82ded19ce8c16a80ec989628a3e35c8e4b0bde24 /src/main/java/net/minecraft/server/EntityEgg.java | |
parent | 61ec751ca11f5bff9ec2dd1644982d5628270004 (diff) | |
download | craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar.gz craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar.lz craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar.xz craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.zip |
Fix formatting.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityEgg.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityEgg.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java index 8d70b304..e54af548 100644 --- a/src/main/java/net/minecraft/server/EntityEgg.java +++ b/src/main/java/net/minecraft/server/EntityEgg.java @@ -73,9 +73,9 @@ public class EntityEgg extends EntityProjectile { if (hatching) { for (int k = 0; k < numHatching; k++) { org.bukkit.entity.Entity entity = world.getWorld().spawn(new Location(world.getWorld(), this.locX, this.locY, this.locZ, this.yaw, 0.0F), hatchingType.getEntityClass(), SpawnReason.EGG); - + if (entity instanceof Animals) { - ((Animals)entity).setAge(-24000); + ((Animals) entity).setAge(-24000); } } } |