mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Sign can be a fuel (#6095)
This commit is contained in:
parent
15ba642258
commit
224a69b11a
@ -271,4 +271,8 @@ abstract class BaseSign extends Transparent{
|
|||||||
public function asItem() : Item{
|
public function asItem() : Item{
|
||||||
return ($this->asItemCallback)();
|
return ($this->asItemCallback)();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFuelTime() : int{
|
||||||
|
return $this->woodType->isFlammable() ? 200 : 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user