forgot to enable

This commit is contained in:
GameHerobrine 2022-12-24 22:43:28 +03:00
parent 80bdddb817
commit 8c12e0de26

View file

@ -20,7 +20,6 @@ class MobSpawner{
}
public function handle(){
return false;
if($this->countEntities() > self::MOB_LIMIT || count($this->level->players) <= 0){
return false; //not spawning
}