Improved Player->onGround checking

This commit is contained in:
Shoghi Cervantes
2014-10-20 12:52:00 +02:00
parent fec387d2ec
commit e3e97a4205
3 changed files with 6 additions and 7 deletions

View File

@ -1152,6 +1152,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
$pk->teleport = true;
$this->directDataPacket($pk);
$this->forceMovement = new Vector3($from->x, $from->y, $from->z);
$this->newPosition = null;
}else{
$this->forceMovement = null;
if($this->nextChunkOrderRun > 20){