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