mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Fixed Entity floor drag
This commit is contained in:
parent
e67a7a510e
commit
71584288dc
@ -398,7 +398,7 @@ class Entity extends Position{
|
||||
$this->speedY -= ($this->class === ENTITY_FALLING ? 16:32) * $tdiff;
|
||||
$update = true;
|
||||
}else{
|
||||
if($this->speedY < 0){
|
||||
if($this->speedY <= 0){
|
||||
$this->speedX = 0;
|
||||
$this->speedY = 0;
|
||||
$this->speedZ = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user