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 WoodenPressurePlate extends SimplePressurePlate{
public function __construct(BlockIdentifier $idInfo, string $name, ?BlockBreakInfo $breakInfo = null){
parent::__construct($idInfo, $name, $breakInfo ?? new BlockBreakInfo(0.5, BlockToolType::TYPE_AXE));
parent::__construct($idInfo, $name, $breakInfo ?? new BlockBreakInfo(0.5, BlockToolType::AXE));
}
public function getFuelTime() : int{