mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 15:36:08 +00:00
shorten BlockToolType constants
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user