mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fire has a 1/3 chance of aging on a random or scheduled tick
This commit is contained in:
@ -94,7 +94,7 @@ class Fire extends Flowable{
|
||||
$down = $this->getSide(Vector3::SIDE_DOWN);
|
||||
|
||||
$result = null;
|
||||
if($this->meta < 15){
|
||||
if($this->meta < 15 and mt_rand(0, 2) === 0){
|
||||
$this->meta++;
|
||||
$result = $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user