| 5 | #include "BlockHandler.h" |
| 6 | |
| 7 | bool cChunkInterface::DigBlock(cWorldInterface & a_WorldInterface, int a_X, int a_Y, int a_Z) |
| 8 | { |
| 9 | cBlockHandler * Handler = cBlockInfo::GetHandler(GetBlock(a_X, a_Y, a_Z)); |
| 10 | Handler->OnDestroyed(*this, a_WorldInterface, a_X, a_Y, a_Z); |
| 11 | return m_ChunkMap->DigBlock(a_X, a_Y, a_Z); |
| 12 | } |
no test coverage detected