mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Fixed physics sneak flag
This commit is contained in:
@@ -824,7 +824,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
}
|
||||
|
||||
|
||||
if($this->gravity > 0 and $fallingFlag and $this->onGround and ($movX != $dx or $movZ != $dz)){
|
||||
if($this->gravity > 0 and $fallingFlag /*and $sneak*/ and ($movX != $dx or $movZ != $dz)){
|
||||
$cx = $dx;
|
||||
$cy = $dy;
|
||||
$cz = $dz;
|
||||
|
Reference in New Issue
Block a user