summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunther De Wachter <GuntherDW@gmail.com>2011-03-17 18:32:18 +0100
committerErik Broes <erikbroes@grum.nl>2011-03-17 20:01:58 +0100
commit2ae5b98d104663244caae49c3e485af5fdcd0624 (patch)
treeab1246e897b329b1cbfc0301aa75bfa73ecded4c
parent41752f401c3a9b92309ec4beb67284fc0a6e7f4e (diff)
downloadcraftbukkit-2ae5b98d104663244caae49c3e485af5fdcd0624.tar
craftbukkit-2ae5b98d104663244caae49c3e485af5fdcd0624.tar.gz
craftbukkit-2ae5b98d104663244caae49c3e485af5fdcd0624.tar.lz
craftbukkit-2ae5b98d104663244caae49c3e485af5fdcd0624.tar.xz
craftbukkit-2ae5b98d104663244caae49c3e485af5fdcd0624.zip
Added missing EntitySquid, you can now prevent them from spawning!
-rw-r--r--src/main/java/net/minecraft/server/World.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 93888775..9dc4297d 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -746,6 +746,8 @@ public class World implements IBlockAccess {
type = CreatureType.ZOMBIE;
} else if (entity instanceof EntitySlime) {
type = CreatureType.SLIME;
+ } else if (entity instanceof EntitySquid) {
+ type = CreatureType.SQUID;
}
if (type != null) {