Merge branch '3.6'

This commit is contained in:
Dylan K. Taylor 2019-02-17 17:08:44 +00:00
commit 3bbc0b5d5f

View File

@ -159,7 +159,7 @@ abstract class Living extends Entity implements Damageable{
}
public function setMaxHealth(int $amount) : void{
$this->attributeMap->getAttribute(Attribute::HEALTH)->setMaxValue($amount);
$this->attributeMap->getAttribute(Attribute::HEALTH)->setMaxValue($amount)->setDefaultValue($amount);
}
public function getAbsorption() : float{