readded fly kicking(toggleable), small tweaks to fall damage

This commit is contained in:
GameHerobrine 2024-07-13 00:49:21 +03:00
parent 81aa575749
commit a980eda1be
3 changed files with 41 additions and 5 deletions

View file

@ -285,6 +285,7 @@ class Player{
$this->lastCorrect = $pos;
$this->entity->fallY = false;
$this->entity->fallStart = false;
$this->entity->notOnGroundTicks = 0;
$this->entity->setPosition($pos, $yaw, $pitch);
$this->entity->resetSpeed();
$this->entity->updateLast();