From a5e21bfaa976ebdb5b0024b392cd9c42f952dcaf Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 25 Sep 2020 16:40:30 +0100 Subject: [PATCH] Entity: protect getBlocksAroundWithEntityInsideActions() --- src/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/Entity.php b/src/entity/Entity.php index f9081dcae..8c9dcd31c 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -1235,7 +1235,7 @@ abstract class Entity{ /** * @return Block[] */ - public function getBlocksAroundWithEntityInsideActions() : array{ + protected function getBlocksAroundWithEntityInsideActions() : array{ if($this->blocksAround === null){ $inset = 0.001; //Offset against floating-point errors