Entity: fixed not calculating surrounding blocks on entity creation

it's unclear if this was actually causing any bugs, but if it was it would likely manifest in the form of, for example, not burning in lava.
This commit is contained in:
Dylan K. Taylor 2019-12-01 21:05:36 +00:00
parent cd778661c2
commit 8d2e59222e

View File

@ -461,7 +461,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
protected $lastDamageCause = null;
/** @var Block[]|null */
protected $blocksAround = [];
protected $blocksAround = null;
/** @var float|null */
public $lastX = null;