summaryrefslogtreecommitdiffstats
path: root/src/Items
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/Items
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 'src/Items')
-rw-r--r--src/Items/ItemHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index 507f7fa86..1d357fcf1 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -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())
{