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

Method DigBlock

src/World.cpp:1760–1766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1758
1759
1760bool cWorld::DigBlock(int a_X, int a_Y, int a_Z)
1761{
1762 cBlockHandler * Handler = cBlockInfo::GetHandler(GetBlock(a_X, a_Y, a_Z));
1763 cChunkInterface ChunkInterface(GetChunkMap());
1764 Handler->OnDestroyed(ChunkInterface, *this, a_X, a_Y, a_Z);
1765 return m_ChunkMap->DigBlock(a_X, a_Y, a_Z);
1766}
1767
1768
1769

Callers 1

Calls 1

OnDestroyedMethod · 0.45

Tested by

no test coverage detected