player can affect motion of minecart now

This commit is contained in:
GameHerobrine 2024-06-10 13:00:54 +03:00
parent 7b2b914865
commit 376240b9bc
4 changed files with 42 additions and 64 deletions

View file

@ -106,6 +106,8 @@ class Entity extends Position
public $inWeb;
public $inLava;
public $moveStrafing, $moveForward;
function __construct(Level $level, $eid, $class, $type = 0, $data = [])
{
$this->random = new Random();