Sign can be a fuel (#6095)

This commit is contained in:
Hugo_ 2023-10-17 13:22:20 +02:00 committed by GitHub
parent 15ba642258
commit 224a69b11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,4 +271,8 @@ abstract class BaseSign extends Transparent{
public function asItem() : Item{
return ($this->asItemCallback)();
}
public function getFuelTime() : int{
return $this->woodType->isFlammable() ? 200 : 0;
}
}