mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
Function fix
This commit is contained in:
parent
3463db04a6
commit
3023df2033
@ -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…
x
Reference in New Issue
Block a user