mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
fixed fly kick when riding minecart
This commit is contained in:
parent
e678d16118
commit
f0f73b55cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
++$this->notOnGroundTicks;
|
||||||
}else if($this->onGround){
|
}else if($this->onGround){
|
||||||
$this->notOnGroundTicks = 0;
|
$this->notOnGroundTicks = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue