From 6cf0fc4a7bfbb78f87a596404b269b92dca5af6b Mon Sep 17 00:00:00 2001 From: sunkid Date: Sun, 19 Jun 2011 15:03:54 -0700 Subject: [PATCH] No more ghastly pigs! --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index cbe97f14bd..ba3dd2e2b3 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -718,7 +718,7 @@ public class CraftWorld implements World { } else if (Ghast.class.isAssignableFrom(clazz)) { entity = new EntityGhast(world); } else if (Pig.class.isAssignableFrom(clazz)) { - entity = new EntityGhast(world); + entity = new EntityPig(world); } else if (Player.class.isAssignableFrom(clazz)) { // need a net server handler for this one } else if (Sheep.class.isAssignableFrom(clazz)) {