Fixed entities not getting ticks on movement

This commit is contained in:
Shoghi Cervantes
2014-10-27 15:53:14 +01:00
parent 23d1532ff9
commit a5a3f4801a
3 changed files with 5 additions and 5 deletions

View File

@ -126,7 +126,7 @@ class FallingBlock extends Entity{
$this->updateMovement();
}
return $hasUpdate or !$this->onGround or ($this->motionX == 0 and $this->motionY == 0 and $this->motionZ == 0);
return $hasUpdate or !$this->onGround or $this->motionX != 0 or $this->motionY != 0 or $this->motionZ != 0;
}
public function getBlock(){