Function fix

This commit is contained in:
Shoghi Cervantes 2013-06-07 19:14:42 +02:00
parent 3463db04a6
commit 3023df2033

View File

@ -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