mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 03:35:33 +00:00
Added a deprecation notice to Entity->getBlocksAround()
This commit is contained in:
parent
53dc6e2050
commit
4d0e8741fe
@ -1782,6 +1782,9 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @deprecated WARNING: Despite what its name implies, this function DOES NOT return all the blocks around the entity.
|
||||||
|
* Instead, it returns blocks which have reactions for an entity intersecting with them.
|
||||||
|
*
|
||||||
* @return Block[]
|
* @return Block[]
|
||||||
*/
|
*/
|
||||||
public function getBlocksAround() : array{
|
public function getBlocksAround() : array{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user