shorten BlockToolType constants

This commit is contained in:
Dylan K. Taylor
2019-07-03 17:57:11 +01:00
parent 85051554c4
commit ee885bb725
84 changed files with 119 additions and 119 deletions

View File

@@ -26,7 +26,7 @@ namespace pocketmine\block;
class WoodenStairs extends Stair{
public function __construct(BlockIdentifier $idInfo, string $name, ?BlockBreakInfo $breakInfo = null){
parent::__construct($idInfo, $name, $breakInfo ?? new BlockBreakInfo(2.0, BlockToolType::TYPE_AXE, 0, 15.0));
parent::__construct($idInfo, $name, $breakInfo ?? new BlockBreakInfo(2.0, BlockToolType::AXE, 0, 15.0));
}
public function getFlameEncouragement() : int{