mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +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;
|
||||
} else if (entity instanceof EntityZombie) {
|
||||
type = MobType.ZOMBIE;
|
||||
} else if (entity instanceof EntitySlime) {
|
||||
type = MobType.SLIME;
|
||||
}
|
||||
|
||||
if (type != null) {
|
||||
|
|
Loading…
Reference in a new issue