mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Block: added flame encouragement and flammability properties
This commit is contained in:
@ -191,4 +191,12 @@ class Leaves extends Transparent{
|
||||
public function canDropApples() : bool{
|
||||
return $this->meta === self::OAK;
|
||||
}
|
||||
|
||||
public function getFlameEncouragement() : int{
|
||||
return 30;
|
||||
}
|
||||
|
||||
public function getFlammability() : int{
|
||||
return 60;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user