small changes to armor system + maxstacksize of armor is fixed

This commit is contained in:
GameHerobrine 2022-09-05 21:19:18 +03:00
parent 39f0b29115
commit f2da48c7e3
48 changed files with 312 additions and 136 deletions

View file

@ -1,8 +1,16 @@
<?php
class LeatherBootsItem extends Item{
class LeatherBootsItem extends ArmorItem{
public function __construct($meta = 0, $count = 1){
parent::__construct(LEATHER_BOOTS, $meta, $count, "Leather Boots");
}
public function getMaterialDurability(){
return Material::LEATHER;
}
public function getBaseDurability(){
return 13;
}
}