remove useless parameters

This commit is contained in:
Sunch 2025-01-11 21:48:33 +08:00
parent 1fd52e82a5
commit 6fb46ccfae
5 changed files with 5 additions and 5 deletions

View file

@ -99,7 +99,7 @@ abstract class Living extends Entity implements Pathfindable{
foreach($this->level->entityListPositioned[$ind] ?? [] as $entid){
if(($this->level->entityList[$entid] ?? null) instanceof Entity){
if($this->level->entityList[$entid]->isPushable() && $bb->intersectsWith($this->level->entityList[$entid]->boundingBox)){
$this->level->entityList[$entid]->applyCollision($this, true);
$this->level->entityList[$entid]->applyCollision($this);
}
}
}