From 2ae5b98d104663244caae49c3e485af5fdcd0624 Mon Sep 17 00:00:00 2001 From: Gunther De Wachter Date: Thu, 17 Mar 2011 18:32:18 +0100 Subject: [PATCH] Added missing EntitySquid, you can now prevent them from spawning! --- src/main/java/net/minecraft/server/World.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index 9388877504..9dc4297dbe 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) {