mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +00:00
World: mark addTile() and removeTile() as @internal
This commit is contained in:
parent
3907ae6726
commit
a49ee0d6b0
@ -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
|
* @throws \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
public function addTile(Tile $tile) : void{
|
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
|
* @throws \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
public function removeTile(Tile $tile) : void{
|
public function removeTile(Tile $tile) : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user