mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
Armor: added clearCustomColor()
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user