mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Armor: added clearCustomColor()
This commit is contained in:
@@ -86,6 +86,12 @@ class Armor extends Durable{
|
|||||||
return $this;
|
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
|
* Returns the total enchantment protection factor this armour piece offers from all applicable protection
|
||||||
* enchantments on the item.
|
* enchantments on the item.
|
||||||
|
Reference in New Issue
Block a user