summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorsk89q <the.sk89q@gmail.com>2011-01-23 14:03:25 -0800
committersk89q <the.sk89q@gmail.com>2011-01-23 14:03:25 -0800
commit78db3d2ec442e02418baac31427cdc7a188e4b6a (patch)
tree062bb4123575beb46d9b7128d3866059947daa85 /src/main
parent5f997be0b344897db84f788a3778e93237be2f15 (diff)
downloadcraftbukkit-78db3d2ec442e02418baac31427cdc7a188e4b6a.tar
craftbukkit-78db3d2ec442e02418baac31427cdc7a188e4b6a.tar.gz
craftbukkit-78db3d2ec442e02418baac31427cdc7a188e4b6a.tar.lz
craftbukkit-78db3d2ec442e02418baac31427cdc7a188e4b6a.tar.xz
craftbukkit-78db3d2ec442e02418baac31427cdc7a188e4b6a.zip
Added squid as a spawnable type by EntityEgg.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/EntityEgg.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java
index 54db05c7..bd9e9d34 100644
--- a/src/main/java/net/minecraft/server/EntityEgg.java
+++ b/src/main/java/net/minecraft/server/EntityEgg.java
@@ -250,6 +250,9 @@ public class EntityEgg extends Entity {
case ZOMBIE:
entity = new EntityZombie(this.l);
break;
+ case SQUID:
+ entity = new EntitySquid(this.l);
+ break;
default:
entity = new EntityChicken(this.l);
break;