mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Move block-breaking tool-type constants to a BlockToolType interface
This commit is contained in:
@ -26,7 +26,6 @@ namespace pocketmine\block;
|
||||
use pocketmine\item\Item;
|
||||
use pocketmine\item\ItemFactory;
|
||||
use pocketmine\item\TieredTool;
|
||||
use pocketmine\item\Tool;
|
||||
|
||||
class NetherReactor extends Solid{
|
||||
protected $id = Block::NETHER_REACTOR;
|
||||
@ -45,7 +44,7 @@ class NetherReactor extends Solid{
|
||||
}
|
||||
|
||||
public function getToolType() : int{
|
||||
return Tool::TYPE_PICKAXE;
|
||||
return BlockToolType::TYPE_PICKAXE;
|
||||
}
|
||||
|
||||
public function getHardness() : float{
|
||||
|
Reference in New Issue
Block a user