Repository: pmmp/PocketMine-MP (language: php)

Issue:
Wooden buttons can be a fuel
### Issue description

- Expected result: Wooden buttons can be used as a fuel in furnaces
- Actual result: Couldn't be used in pmmp

### Steps to reproduce the issue
1. Open furnace
2. Place a wooden button in fuel slot
3. The item does not cook

### OS and versions
<!-- try the `version` command | LATEST IS NOT A VALID VERSION -->
* PocketMine-MP: 5.6.0
* PHP:
* Using JIT: yes/no (delete as appropriate) <!-- look for the giant yellow warning in the log that says you're using JIT -->
* Server OS:
* Game version: Android/iOS/Win10/Xbox/PS4/Switch (delete as appropriate)

### Plugins
None



Discussion / hints:

Fix patch:
diff --git a/src/block/WoodenButton.php b/src/block/WoodenButton.php
index d1123ec2d6b..7ba8a7af0d1 100644
--- a/src/block/WoodenButton.php
+++ b/src/block/WoodenButton.php
@@ -35,4 +35,8 @@ protected function getActivationTime() : int{
 	public function hasEntityCollision() : bool{
 		return false; //TODO: arrows activate wooden buttons
 	}
+
+	public function getFuelTime() : int{
+		return $this->woodType->isFlammable() ? 100 : 0;
+	}
 }


Test patch: