armor will actually be removed now

This commit is contained in:
GameHerobrine 2025-05-30 10:11:25 +03:00
parent 02a038a7f7
commit 294745fb09
3 changed files with 6 additions and 1 deletions

View file

@ -236,6 +236,10 @@ class Item{
if($this->meta > $this->getMaxDurability()){
$player->consumeSingleItem();
}
}else{
if($this->meta > $this->getMaxDurability()){
--$this->count;
}
}
}
}