summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorsunkid <sunkid@iminurnetz.com>2011-06-19 15:03:54 -0700
committerEvilSeph <evilseph@unaligned.org>2011-06-19 18:39:47 -0400
commit6cf0fc4a7bfbb78f87a596404b269b92dca5af6b (patch)
tree1e17f7b56713a961d8e2635dae43b17ce17c42e9 /src/main/java
parent57d677d1e8057f500545e432c5d4db3514a26bda (diff)
downloadcraftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar
craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar.gz
craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar.lz
craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.tar.xz
craftbukkit-6cf0fc4a7bfbb78f87a596404b269b92dca5af6b.zip
No more ghastly pigs!
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftWorld.java2
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)) {