minecart pushing test

This commit is contained in:
GameHerobrine 2024-06-09 05:24:57 +03:00
parent fb13a6123b
commit 39dbd6db34
5 changed files with 110 additions and 22 deletions

View file

@ -221,7 +221,7 @@ class Entity extends Position
}
public function isPushable(){
return false;
return $this->isPlayer();
}
public function applyCollision(Entity $collided){