summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-02 22:03:44 +0100
committerMattes D <github@xoft.cz>2014-03-02 22:03:44 +0100
commitd25e4d4179c00f1692c4d348baece49561c49938 (patch)
treec180208ae9759403cc29c4784103569793e6cc63 /src/World.cpp
parentFixed MSVC warnings in DeprecatedBindings. (diff)
parentRemoved if condition (diff)
downloadcuberite-d25e4d4179c00f1692c4d348baece49561c49938.tar
cuberite-d25e4d4179c00f1692c4d348baece49561c49938.tar.gz
cuberite-d25e4d4179c00f1692c4d348baece49561c49938.tar.bz2
cuberite-d25e4d4179c00f1692c4d348baece49561c49938.tar.lz
cuberite-d25e4d4179c00f1692c4d348baece49561c49938.tar.xz
cuberite-d25e4d4179c00f1692c4d348baece49561c49938.tar.zst
cuberite-d25e4d4179c00f1692c4d348baece49561c49938.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index ffdae2a37..2dfa85d64 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1723,7 +1723,7 @@ bool cWorld::GetBlocks(sSetBlockVector & a_Blocks, bool a_ContinueOnFailure)
bool cWorld::DigBlock(int a_X, int a_Y, int a_Z)
{
- cBlockHandler *Handler = cBlockHandler::GetBlockHandler(GetBlock(a_X, a_Y, a_Z));
+ cBlockHandler * Handler = cBlockInfo::GetHandler(GetBlock(a_X, a_Y, a_Z));
cChunkInterface ChunkInterface(GetChunkMap());
Handler->OnDestroyed(ChunkInterface, *this, a_X, a_Y, a_Z);
return m_ChunkMap->DigBlock(a_X, a_Y, a_Z);