Entity: protect getBlocksAroundWithEntityInsideActions()

This commit is contained in:
Dylan K. Taylor 2020-09-25 16:40:30 +01:00
parent 3556f26e00
commit a5e21bfaa9

View File

@ -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