22declare(strict_types=1);
24namespace pocketmine\entity\effect;
31 $new = (4 * $instance->getEffectLevel());
32 if($new > $entity->getAbsorption()){
33 $entity->setAbsorption($new);
38 $entity->setAbsorption(0);
add(Living $entity, EffectInstance $instance)