From f0f73b55cfce7da9d3c25eefce3b3f2dbe640022 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Fri, 12 Jun 2026 06:25:42 +0300 Subject: [PATCH] fixed fly kick when riding minecart --- src/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/Entity.php b/src/entity/Entity.php index ee566e2d..968615c8 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -918,7 +918,7 @@ class Entity extends Position } } - if($prevGroundState == $this->onGround && !$this->onGround && $this->player->isSleeping == false && !$this->dead){ //isSleeping may be a vector + if($prevGroundState == $this->onGround && !$this->onGround && $this->player->isSleeping == false && !$this->dead && $this->riding == 0){ //isSleeping may be a vector ++$this->notOnGroundTicks; }else if($this->onGround){ $this->notOnGroundTicks = 0;