mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@@ -63,7 +63,6 @@ class Armor extends Durable{
|
||||
|
||||
/**
|
||||
* @see ArmorInventory
|
||||
* @return int
|
||||
*/
|
||||
public function getArmorSlot() : int{
|
||||
return $this->armorInfo->getArmorSlot();
|
||||
@@ -75,7 +74,6 @@ class Armor extends Durable{
|
||||
|
||||
/**
|
||||
* Returns the dyed colour of this armour piece. This generally only applies to leather armour.
|
||||
* @return Color|null
|
||||
*/
|
||||
public function getCustomColor() : ?Color{
|
||||
return $this->customColor;
|
||||
@@ -84,8 +82,6 @@ class Armor extends Durable{
|
||||
/**
|
||||
* Sets the dyed colour of this armour piece. This generally only applies to leather armour.
|
||||
*
|
||||
* @param Color $color
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCustomColor(Color $color) : self{
|
||||
@@ -96,10 +92,6 @@ class Armor extends Durable{
|
||||
/**
|
||||
* Returns the total enchantment protection factor this armour piece offers from all applicable protection
|
||||
* enchantments on the item.
|
||||
*
|
||||
* @param EntityDamageEvent $event
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getEnchantmentProtectionFactor(EntityDamageEvent $event) : int{
|
||||
$epf = 0;
|
||||
|
Reference in New Issue
Block a user