diff --git a/src/pocketmine/entity/Living.php b/src/pocketmine/entity/Living.php index 80aa45e50..09585fd24 100644 --- a/src/pocketmine/entity/Living.php +++ b/src/pocketmine/entity/Living.php @@ -111,7 +111,7 @@ abstract class Living extends Entity implements Damageable{ $this->setHealth($health); - /** @var CompoundTag[]|ListTag $activeEffectsTag */ + /** @var CompoundTag[]|ListTag|null */ $activeEffectsTag = $this->namedtag->getListTag("ActiveEffects"); if($activeEffectsTag !== null){ foreach($activeEffectsTag as $e){