From 92518f4fc06a46cd67869224e11fe426c280b952 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Thu, 24 Mar 2011 22:51:47 +0100 Subject: [PATCH] Stop GIANT discrimination --- .../java/org/bukkit/craftbukkit/event/CraftEventFactory.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java index 408022fd1c..410e4c8c27 100644 --- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java +++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java @@ -5,6 +5,7 @@ import net.minecraft.server.EntityChicken; import net.minecraft.server.EntityCow; import net.minecraft.server.EntityCreeper; import net.minecraft.server.EntityGhast; +import net.minecraft.server.EntityGiantZombie; import net.minecraft.server.EntityHuman; import net.minecraft.server.EntityLiving; import net.minecraft.server.EntityPig; @@ -198,6 +199,8 @@ public class CraftEventFactory { type = CreatureType.CREEPER; } else if (entityliving instanceof EntityGhast) { type = CreatureType.GHAST; + } else if (entityliving instanceof EntityGiantZombie) { + type = CreatureType.GIANT; } else if (entityliving instanceof EntityPig) { type = CreatureType.PIG; } else if (entityliving instanceof EntityPigZombie) {