working knockback for players

This commit is contained in:
GameHerobrine 2024-03-05 06:54:02 +03:00
parent 5364718d13
commit 4aa120c3f2
3 changed files with 12 additions and 4 deletions

View file

@ -67,7 +67,6 @@ class MobSpawner{
}
foreach($this->level->players as $player){
if(isset($this->playerAffectedEIDS[$player->entity->eid]) && count($this->playerAffectedEIDS[$player->entity->eid]) > $this->totalMobsPerPlayer){
continue;
}