diff --git a/src/pocketmine/item/Item.php b/src/pocketmine/item/Item.php index e6b9144d0..f3500fd6f 100644 --- a/src/pocketmine/item/Item.php +++ b/src/pocketmine/item/Item.php @@ -724,13 +724,6 @@ class Item implements ItemIds, \JsonSerializable{ return false; } - /** - * @return bool - */ - public function isTool(){ - return false; - } - /** * Returns what type of block-breaking tool this is. Blocks requiring the same tool type as the item will break * faster (except for blocks requiring no tool, which break at the same speed regardless of the tool used) diff --git a/src/pocketmine/item/Tool.php b/src/pocketmine/item/Tool.php index 55e74e601..5e5d151e0 100644 --- a/src/pocketmine/item/Tool.php +++ b/src/pocketmine/item/Tool.php @@ -64,10 +64,6 @@ abstract class Tool extends Durable{ return true; } - public function isTool(){ - return true; - } - public function getMiningEfficiency(Block $block) : float{ $efficiency = 1; if(($block->getToolType() & $this->getBlockToolType()) !== 0){