mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Implemented armor durability
This commit is contained in:
@ -32,4 +32,8 @@ class DiamondLeggings extends Armor{
|
||||
public function getDefensePoints() : int{
|
||||
return 6;
|
||||
}
|
||||
|
||||
public function getMaxDurability() : int{
|
||||
return 496;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user