mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Wooden Button can be a fuel (#6099)
This commit is contained in:
@ -35,4 +35,8 @@ class WoodenButton extends Button{
|
||||
public function hasEntityCollision() : bool{
|
||||
return false; //TODO: arrows activate wooden buttons
|
||||
}
|
||||
|
||||
public function getFuelTime() : int{
|
||||
return $this->woodType->isFlammable() ? 100 : 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user