1
0

cBlockInfo now manages the respective cBlockHandler

This commit is contained in:
andrew
2014-03-02 21:25:05 +02:00
parent 7fb354e8f0
commit 070d483236
11 changed files with 70 additions and 73 deletions

View File

@@ -285,7 +285,7 @@ void cItemHandler::OnBlockDestroyed(cWorld * a_World, cPlayer * a_Player, const
UNUSED(a_Item);
BLOCKTYPE Block = a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ);
cBlockHandler * Handler = cBlockHandler::GetBlockHandler(Block);
cBlockHandler * Handler = cBlockInfo::GetHandler(Block);
if (a_Player->IsGameModeSurvival())
{