mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Living: fixed bad @var confusing PHPStan
This commit is contained in:
parent
4518d9d9ce
commit
037c34d961
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user