Added slime as a detected entity.

This commit is contained in:
sk89q 2011-02-18 19:45:58 -08:00
parent 264b5c331d
commit ec0eec5863

View file

@ -834,6 +834,8 @@ public class World implements IBlockAccess {
type = MobType.SPIDER; type = MobType.SPIDER;
} else if (entity instanceof EntityZombie) { } else if (entity instanceof EntityZombie) {
type = MobType.ZOMBIE; type = MobType.ZOMBIE;
} else if (entity instanceof EntitySlime) {
type = MobType.SLIME;
} }
if (type != null) { if (type != null) {