mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Added slime as a detected entity.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user