Fixed dead entities and Item picking, improved timing reports

This commit is contained in:
Shoghi Cervantes
2015-05-06 16:21:35 +02:00
parent bff51322af
commit 44b5c23ee1
10 changed files with 73 additions and 73 deletions

View File

@ -95,7 +95,7 @@ class Squid extends WaterAnimal implements Ageable{
$hasUpdate = parent::onUpdate($currentTick);
if(!$this->dead){
if($this->isAlive()){
if($this->y > 62 and $this->swimDirection !== null){
$this->swimDirection->y = -0.5;