From 8d2e59222e9e5ff519f69975a798013ad81ff999 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 1 Dec 2019 21:05:36 +0000 Subject: [PATCH] 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. --- src/pocketmine/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 60b9eec39..3eb596d78 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -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;