Fixed physics sneak flag

This commit is contained in:
Shoghi Cervantes
2014-08-29 13:02:08 +02:00
parent 69b3ef326b
commit 7a1d25617f
2 changed files with 10 additions and 4 deletions

View File

@@ -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;