mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Extracted an EffectManager unit from Living
This commit is contained in:
@ -109,7 +109,7 @@ class SplashPotion extends Throwable{
|
||||
continue;
|
||||
}
|
||||
$effect->setDuration($newDuration);
|
||||
$entity->addEffect($effect);
|
||||
$entity->getEffects()->add($effect);
|
||||
}else{
|
||||
$effect->getType()->applyEffect($entity, $effect, $distanceMultiplier, $this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user