World: mark addTile() and removeTile() as @internal

This commit is contained in:
Dylan K. Taylor 2021-02-24 23:42:09 +00:00
parent 3907ae6726
commit a49ee0d6b0
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -2244,6 +2244,7 @@ class World implements ChunkManager{
}
/**
* @internal Tiles are now bound with blocks, and their creation is automatic. They should not be directly added.
* @throws \InvalidArgumentException
*/
public function addTile(Tile $tile) : void{
@ -2269,6 +2270,7 @@ class World implements ChunkManager{
}
/**
* @internal Tiles are now bound with blocks, and their removal is automatic. They should not be directly removed.
* @throws \InvalidArgumentException
*/
public function removeTile(Tile $tile) : void{