summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsk89q <the.sk89q@gmail.com>2011-02-18 19:45:58 -0800
committersk89q <the.sk89q@gmail.com>2011-02-19 18:02:12 -0800
commitec0eec5863191009dda11e1068d81e21895ac2d6 (patch)
treed3db206b492cd1fed5d7c2d685f30d79909b2f28
parent264b5c331d98f992a340fa0c193ce44b8a948c77 (diff)
downloadcraftbukkit-ec0eec5863191009dda11e1068d81e21895ac2d6.tar
craftbukkit-ec0eec5863191009dda11e1068d81e21895ac2d6.tar.gz
craftbukkit-ec0eec5863191009dda11e1068d81e21895ac2d6.tar.lz
craftbukkit-ec0eec5863191009dda11e1068d81e21895ac2d6.tar.xz
craftbukkit-ec0eec5863191009dda11e1068d81e21895ac2d6.zip
Added slime as a detected entity.
-rw-r--r--src/main/java/net/minecraft/server/World.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 3275e369..9844892c 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -834,6 +834,8 @@ public class World implements IBlockAccess {
type = MobType.SPIDER;
} else if (entity instanceof EntityZombie) {
type = MobType.ZOMBIE;
+ } else if (entity instanceof EntitySlime) {
+ type = MobType.SLIME;
}
if (type != null) {