Armor: added clearCustomColor()

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

View File

@ -86,6 +86,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.