mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Fixed dead entities and Item picking, improved timing reports
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user