From d7d48d822953a7fee67f3542d32ada7ead0c1054 Mon Sep 17 00:00:00 2001 From: Andrew Ardill Date: Mon, 12 Dec 2011 14:35:57 +1100 Subject: Teach CraftWorld.spawn how to spawn a Giant Fixes BUKKIT-235 --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 45035b0e..d1139422 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -750,6 +750,8 @@ public class CraftWorld implements World { entity = new EntityPigZombie(world); } else if (Zombie.class.isAssignableFrom(clazz)) { entity = new EntityZombie(world); + } else if (Giant.class.isAssignableFrom(clazz)) { + entity = new EntityGiantZombie(world); } else if (Silverfish.class.isAssignableFrom(clazz)) { entity = new EntitySilverfish(world); } else if (Enderman.class.isAssignableFrom(clazz)) { -- cgit v1.2.3