Improved Player flight detection after setMotion(), other method improvement

This commit is contained in:
Shoghi Cervantes
2015-05-03 13:42:54 +02:00
parent 0ead3ec781
commit 9ec609d025
7 changed files with 52 additions and 38 deletions

View File

@ -47,7 +47,7 @@ abstract class Fallable extends Solid{
$fall = Entity::createEntity("FallingSand", $this->getLevel()->getChunk($this->x >> 4, $this->z >> 4), new Compound("", [
"Pos" => new Enum("Pos", [
new Double("", $this->x + 0.5),
new Double("", $this->y),
new Double("", $this->y + 0.5),
new Double("", $this->z + 0.5)
]),
"Motion" => new Enum("Motion", [