summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-03-24 22:51:47 +0100
committerErik Broes <erikbroes@grum.nl>2011-03-24 22:51:47 +0100
commit92518f4fc06a46cd67869224e11fe426c280b952 (patch)
tree1797631eb7f41f79d5ad8693c5ddad793249ce21 /src/main/java/org/bukkit
parentce714ab329476d718da03b17604fad52f082122b (diff)
downloadcraftbukkit-92518f4fc06a46cd67869224e11fe426c280b952.tar
craftbukkit-92518f4fc06a46cd67869224e11fe426c280b952.tar.gz
craftbukkit-92518f4fc06a46cd67869224e11fe426c280b952.tar.lz
craftbukkit-92518f4fc06a46cd67869224e11fe426c280b952.tar.xz
craftbukkit-92518f4fc06a46cd67869224e11fe426c280b952.zip
Stop GIANT discrimination
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
index 408022fd..410e4c8c 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) {