mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Fixed items getting corrupted pickup delay, not being able to be killed by other damage sources
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user