pocketmine\level\Level::removeTile PHP Method

removeTile() public method

public removeTile ( Tile $tile )
$tile pocketmine\tile\Tile
    public function removeTile(Tile $tile)
    {
        if ($tile->getLevel() !== $this) {
            throw new LevelException("Invalid Tile level");
        }
        unset($this->tiles[$tile->getId()]);
        unset($this->updateTiles[$tile->getId()]);
        $this->clearChunkCache($tile->getX() >> 4, $tile->getZ() >> 4);
    }
Level