Improve World::notifyNeighbourBlockUpdate() doc (#5491)

This commit is contained in:
IvanCraft623 2023-01-04 15:11:55 -05:00 committed by GitHub
parent 64e505defb
commit 433f5451d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1321,7 +1321,9 @@ class World implements ChunkManager{
/**
* Notify the blocks at and around the position that the block at the position may have changed.
* This will cause onNeighbourBlockUpdate() to be called for these blocks.
* This will cause onNearbyBlockChange() to be called for these blocks.
*
* @see Block::onNearbyBlockChange()
*/
public function notifyNeighbourBlockUpdate(Vector3 $pos) : void{
$this->tryAddToNeighbourUpdateQueue($pos);