Fixed fire with no nearby flammable blocks burning for too long

This commit is contained in:
Dylan K. Taylor 2018-03-20 10:04:25 +00:00
parent af9b0b019d
commit 46cbcb0c42

View File

@ -120,9 +120,9 @@ class Fire extends Flowable{
$this->level->setBlock($this, $result);
}
if($canSpread){
$this->level->scheduleDelayedBlockUpdate($this, mt_rand(30, 40));
$this->level->scheduleDelayedBlockUpdate($this, mt_rand(30, 40));
if($canSpread){
//TODO: raise upper bound for chance in humid biomes
foreach($this->getHorizontalSides() as $side){