hopefully fixed hoe durability

This commit is contained in:
GameHerobrine 2023-01-23 19:33:53 +03:00
parent 5bd7825736
commit 4df64523f6
3 changed files with 5 additions and 1 deletions

View file

@ -232,7 +232,7 @@ class Item{
}
public function getMaxDurability(){
if(!$this->isTool() and $this->isHoe() === false and $this->id !== BOW){
if(!$this->isTool() and $this->id !== BOW){
return false;
}