diff options
author | sunkid <sunkid@iminurnetz.com> | 2011-06-19 15:03:54 -0700 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-19 18:39:47 -0400 |
commit | 6cf0fc4a7bfbb78f87a596404b269b92dca5af6b (patch) | |
tree | 1e17f7b56713a961d8e2635dae43b17ce17c42e9 | |
parent | 57d677d1e8057f500545e432c5d4db3514a26bda (diff) | |
download | craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar.gz craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar.lz craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar.xz craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.zip |
No more ghastly pigs!
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index cbe97f14..ba3dd2e2 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)) { |