From 3023df2033e246f274ca618fb44d4425cb73d019 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Fri, 7 Jun 2013 19:14:42 +0200 Subject: [PATCH] Function fix --- src/material/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/Item.php b/src/material/Item.php index 8914b89e9b..5851866a68 100644 --- a/src/material/Item.php +++ b/src/material/Item.php @@ -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