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

Issue:
Wooden doors can be a fuel
### Issue description

- Expected result: Wooden doors 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 door 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/WoodenDoor.php b/src/block/WoodenDoor.php
index e398812cd0e..96f349e4969 100644
--- a/src/block/WoodenDoor.php
+++ b/src/block/WoodenDoor.php
@@ -27,4 +27,8 @@
 
 class WoodenDoor extends Door{
 	use WoodTypeTrait;
+
+	public function getFuelTime() : int{
+		return $this->woodType->isFlammable() ? 200 : 0;
+	}
 }


Test patch: