mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Added on/off handling for buttons and levers
This commit is contained in:
@ -38,4 +38,8 @@ class StoneButton extends Button{
|
||||
public function getToolType() : int{
|
||||
return BlockToolType::TYPE_PICKAXE;
|
||||
}
|
||||
|
||||
protected function getActivationTime() : int{
|
||||
return 20;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user