Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor 2022-07-16 15:11:19 +01:00
commit 4afd3dcabf
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -89,6 +89,12 @@ class Armor extends Durable{
return $this;
}
/** @return $this */
public function clearCustomColor() : self{
$this->customColor = null;
return $this;
}
/**
* Returns the total enchantment protection factor this armour piece offers from all applicable protection
* enchantments on the item.