MCPcopy Create free account
hub / github.com/cuberite/cuberite / RemoveChunkClient

Method RemoveChunkClient

src/ChunkMap.cpp:1626–1635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1624
1625
1626void cChunkMap::RemoveChunkClient(int a_ChunkX, int a_ChunkZ, cClientHandle * a_Client)
1627{
1628 cCSLock Lock(m_CSLayers);
1629 cChunkPtr Chunk = GetChunkNoGen(a_ChunkX, ZERO_CHUNK_Y, a_ChunkZ);
1630 if (Chunk == NULL)
1631 {
1632 return;
1633 }
1634 Chunk->RemoveClient(a_Client);
1635}
1636
1637
1638

Callers

nothing calls this directly

Calls 1

RemoveClientMethod · 0.45

Tested by

no test coverage detected