Flammable blocks adjacent to fire now burn away

There are some strange bugs with blockupdating causing invisible client-side-only fires that need to be investigated.
This commit is contained in:
Dylan K. Taylor
2018-03-16 10:21:44 +00:00
parent 670a53ba3b
commit 9a1d3aec6b
3 changed files with 43 additions and 5 deletions

View File

@ -534,6 +534,13 @@ class Block extends Position implements BlockIds, Metadatable{
return $this->getFlammability() > 0;
}
/**
* Called when this block is burned away by being on fire.
*/
public function onIncinerate() : void{
}
/**
* Returns the Block on the side $side, works like Vector3::getSide()
*