diff --git a/src/pocketmine/entity/Attribute.php b/src/pocketmine/entity/Attribute.php index 15b2664a1..795e908d5 100644 --- a/src/pocketmine/entity/Attribute.php +++ b/src/pocketmine/entity/Attribute.php @@ -171,7 +171,7 @@ class Attribute{ } public function resetToDefault() : void{ - $this->setValue($this->getDefaultValue()); + $this->setValue($this->getDefaultValue(), true); } public function getValue() : float{