summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-03-29 22:56:36 +0200
committerErik Broes <erikbroes@grum.nl>2011-03-29 23:14:59 +0200
commit195423cd0b3ffdc4966d4722883eb7810af29a08 (patch)
tree9b48f9c87a0dbf5d23c52857daabca77966c59d0 /src/main/java/net
parent33f7af519f51f6e45b4d92cbb93e4f37798b48f1 (diff)
downloadcraftbukkit-195423cd0b3ffdc4966d4722883eb7810af29a08.tar
craftbukkit-195423cd0b3ffdc4966d4722883eb7810af29a08.tar.gz
craftbukkit-195423cd0b3ffdc4966d4722883eb7810af29a08.tar.lz
craftbukkit-195423cd0b3ffdc4966d4722883eb7810af29a08.tar.xz
craftbukkit-195423cd0b3ffdc4966d4722883eb7810af29a08.zip
Allow GIANTS to spawn from Eggs
Diffstat (limited to 'src/main/java/net')
-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 4d4e3f0a..b28b1166 100644
--- a/src/main/java/net/minecraft/server/EntityEgg.java
+++ b/src/main/java/net/minecraft/server/EntityEgg.java
@@ -218,6 +218,9 @@ public class EntityEgg extends Entity {
case GHAST:
entity = new EntityGhast(this.world);
break;
+ case GIANT:
+ entity = new EntityGiantZombie(this.world);
+ break;
case PIG:
entity = new EntityPig(this.world);
break;