Update exhaustion values for 1.18.30 (#5034)

This commit is contained in:
Duo Incure
2022-05-17 18:28:19 +01:00
committed by GitHub
parent 1e59679ec2
commit 89cc449808
4 changed files with 10 additions and 10 deletions

View File

@ -36,7 +36,7 @@ class HungerEffect extends Effect{
public function applyEffect(Living $entity, EffectInstance $instance, float $potency = 1.0, ?Entity $source = null) : void{
if($entity instanceof Human){
$entity->getHungerManager()->exhaust(0.025 * $instance->getEffectLevel(), PlayerExhaustEvent::CAUSE_POTION);
$entity->getHungerManager()->exhaust(0.1 * $instance->getEffectLevel(), PlayerExhaustEvent::CAUSE_POTION);
}
}
}