diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-07-27 01:12:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 01:12:41 +0200 |
commit | cdd8e425872b94878babf7823cd12381d2db1a5c (patch) | |
tree | fea666b4d4c4e10da6a957a0e403c747dbd74ef9 /src/ClientHandle.cpp | |
parent | CheckBasicStyle: Check number of empty lines between functions (#4267) (diff) | |
download | cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.gz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.bz2 cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.lz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.xz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.zst cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.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 8e5381e1d..ec861647f 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1361,7 +1361,7 @@ void cClientHandle::HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_Blo // The ItemHandler is also responsible for spawning the pickups cChunkInterface ChunkInterface(World->GetChunkMap()); BlockHandler(a_OldBlock)->OnDestroyedByPlayer(ChunkInterface, *World, *m_Player, a_BlockX, a_BlockY, a_BlockZ); - World->BroadcastSoundParticleEffect(EffectID::PARTICLE_SMOKE, a_BlockX, a_BlockY, a_BlockZ, a_OldBlock, this); + World->BroadcastSoundParticleEffect(EffectID::PARTICLE_SMOKE, {a_BlockX, a_BlockY, a_BlockZ}, a_OldBlock, this); // This call would remove the water, placed from the ice block handler if (!((a_OldBlock == E_BLOCK_ICE) && (ChunkInterface.GetBlock({a_BlockX, a_BlockY, a_BlockZ}) == E_BLOCK_WATER))) { |