Cleaned up code

This commit is contained in:
Shoghi Cervantes
2015-01-03 16:07:49 +01:00
parent f9762c870a
commit 074c8b876d
19 changed files with 27 additions and 1293 deletions

View File

@@ -827,6 +827,7 @@ abstract class Entity extends Location implements Metadatable{
$this->boundingBox->offset($dx, $dy, $dz);
$this->setPosition(new Vector3(($this->boundingBox->minX + $this->boundingBox->maxX) / 2, $this->boundingBox->minY, ($this->boundingBox->minZ + $this->boundingBox->maxZ) / 2));
$this->onGround = $this instanceof Player ? true : false;
return true;
}else{
Timings::$entityMoveTimer->startTiming();