mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
small changes to armor system + maxstacksize of armor is fixed
This commit is contained in:
parent
39f0b29115
commit
f2da48c7e3
48 changed files with 312 additions and 136 deletions
|
|
@ -1,8 +1,16 @@
|
|||
<?php
|
||||
|
||||
class ChainHelmetItem extends Item{
|
||||
class ChainHelmetItem extends ArmorItem{
|
||||
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(CHAIN_HELMET, $meta, $count, "Chain Helmet");
|
||||
}
|
||||
|
||||
public function getMaterialDurability(){
|
||||
return Material::CHAIN;
|
||||
}
|
||||
|
||||
public function getBaseDurability(){
|
||||
return 11;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue