mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Armor: added clearCustomColor()
This commit is contained in:
parent
93254523e6
commit
4e3964ffce
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user