mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +01:00
Added slime as a detected entity.
This commit is contained in:
parent
264b5c331d
commit
ec0eec5863
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue