swimming fixed

This commit is contained in:
GameHerobrine 2024-01-13 05:13:06 +03:00
parent 3d1dba6b86
commit 6eb13e5bd4
16 changed files with 170 additions and 16 deletions

View file

@ -21,7 +21,6 @@ class MobController
public $someTicker = 0;
protected $jumping;
protected $jumpTimeout;
public $moveToX, $moveToY, $moveToZ;
public $speed;
@ -84,6 +83,11 @@ class MobController
return $old + $v4;
}
public function jumpTick(){
$this->entity->jumping = $this->jumping;
$this->jumping = false;
}
public function movementTick(){
$this->entity->moveForward = 0;
if($this->updateMove){