mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Fixup pressure plate hierarchy
This commit is contained in:
@ -23,17 +23,17 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\block;
|
||||
|
||||
class WoodenPressurePlate extends StonePressurePlate{
|
||||
class WoodenPressurePlate extends SimplePressurePlate{
|
||||
|
||||
public function getFuelTime() : int{
|
||||
return 300;
|
||||
}
|
||||
|
||||
public function getHardness() : float{
|
||||
return 0.5;
|
||||
}
|
||||
|
||||
public function getToolType() : int{
|
||||
return BlockToolType::TYPE_AXE;
|
||||
}
|
||||
|
||||
public function getToolHarvestLevel() : int{
|
||||
return 0; //TODO: fix hierarchy problem
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user