Fixed items getting corrupted pickup delay, not being able to be killed by other damage sources

This commit is contained in:
Shoghi Cervantes
2015-05-28 22:17:12 +02:00
parent ce59703dd0
commit 03f178379e
10 changed files with 38 additions and 37 deletions

View File

@ -143,7 +143,7 @@ class Squid extends WaterAnimal implements Ageable{
$this->timings->stopTiming();
return $hasUpdate or !$this->onGround or $this->motionX != 0 or $this->motionY != 0 or $this->motionZ != 0;
return $hasUpdate or !$this->onGround or abs($this->motionX) > 0.00001 or abs($this->motionY) > 0.00001 or abs($this->motionZ) > 0.00001;
}