mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-16 22:35:06 +00:00
Entity: protect getBlocksAroundWithEntityInsideActions()
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user