diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 13:28:06 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 13:28:06 +0200 |
commit | bee615b75b3cd98335beaa8f5a6c4487ccccb0fd (patch) | |
tree | 26180f7088ee6ad69832f7af46182606a8c66489 /src/ClientHandle.cpp | |
parent | Fixed many right click issues. (diff) | |
parent | Fixed a redstone sim failure with droppers. (diff) | |
download | cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.gz cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.bz2 cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.lz cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.xz cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.zst cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 642a5246a..80bd4462b 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1467,7 +1467,7 @@ void cClientHandle::HandlePlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, e NewBlock->OnPlacedByPlayer(ChunkInterface, *World, m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, BlockType, BlockMeta); // Step sound with 0.8f pitch is used as block placement sound - World->BroadcastSoundEffect(NewBlock->GetStepSound(), (double)a_BlockX, (double)a_BlockY, (double)a_BlockZ, 1.0f, 0.8f); + World->BroadcastSoundEffect(cBlockInfo::GetPlaceSound(BlockType), (double)a_BlockX, (double)a_BlockY, (double)a_BlockZ, 1.0f, 0.8f); cRoot::Get()->GetPluginManager()->CallHookPlayerPlacedBlock(*m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, BlockType, BlockMeta); } |