mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Entity: protect getBlocksAroundWithEntityInsideActions()
This commit is contained in:
parent
3556f26e00
commit
a5e21bfaa9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user