mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
hopefully fixed hoe durability
This commit is contained in:
parent
5bd7825736
commit
4df64523f6
3 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue