mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Function fix
This commit is contained in:
parent
3463db04a6
commit
3023df2033
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ class Item{
|
|||
}
|
||||
|
||||
final public function isTool(){
|
||||
return ($this->isPickaxe !== false or $this->isAxe !== false or $this->isShovel !== false or $this->isSword !== false or $this->isHoe !== false);
|
||||
return ($this->isPickaxe() !== false or $this->isAxe() !== false or $this->isShovel() !== false or $this->isSword() !== false or $this->isHoe() !== false);
|
||||
}
|
||||
|
||||
final public function isPickaxe(){ //Returns false or level of the pickaxe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue