Living: fixed broken @var tag

This commit is contained in:
Dylan K. Taylor 2020-02-14 08:17:51 +00:00
parent d63d6b73f6
commit 7b7dfc36d1

View File

@ -111,7 +111,7 @@ abstract class Living extends Entity implements Damageable{
$this->setHealth($health); $this->setHealth($health);
/** @var CompoundTag[]|ListTag|null */ /** @var CompoundTag[]|ListTag|null $activeEffectsTag */
$activeEffectsTag = $this->namedtag->getListTag("ActiveEffects"); $activeEffectsTag = $this->namedtag->getListTag("ActiveEffects");
if($activeEffectsTag !== null){ if($activeEffectsTag !== null){
foreach($activeEffectsTag as $e){ foreach($activeEffectsTag as $e){