mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
mob cap should be fixed
This commit is contained in:
parent
3ce6040bf3
commit
5723f88cba
2 changed files with 4 additions and 4 deletions
|
|
@ -341,7 +341,7 @@ class Level{
|
|||
continue;
|
||||
}
|
||||
|
||||
if($e->type === ENTITY_MOB && !$e->isPlayer()){
|
||||
if($e->class === ENTITY_MOB && !$e->isPlayer()){
|
||||
++$this->totalMobsAmount;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue