mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Fixed Entity floor drag
This commit is contained in:
parent
e67a7a510e
commit
71584288dc
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ class Entity extends Position{
|
||||||
$this->speedY -= ($this->class === ENTITY_FALLING ? 16:32) * $tdiff;
|
$this->speedY -= ($this->class === ENTITY_FALLING ? 16:32) * $tdiff;
|
||||||
$update = true;
|
$update = true;
|
||||||
}else{
|
}else{
|
||||||
if($this->speedY < 0){
|
if($this->speedY <= 0){
|
||||||
$this->speedX = 0;
|
$this->speedX = 0;
|
||||||
$this->speedY = 0;
|
$this->speedY = 0;
|
||||||
$this->speedZ = 0;
|
$this->speedZ = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue