mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
armor will actually be removed now
This commit is contained in:
parent
02a038a7f7
commit
294745fb09
3 changed files with 6 additions and 1 deletions
|
|
@ -236,6 +236,10 @@ class Item{
|
|||
if($this->meta > $this->getMaxDurability()){
|
||||
$player->consumeSingleItem();
|
||||
}
|
||||
}else{
|
||||
if($this->meta > $this->getMaxDurability()){
|
||||
--$this->count;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue