diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-11 23:12:32 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-11 23:12:32 +0200 |
commit | cb980145820b1bb016dac17a28731cc0b600442a (patch) | |
tree | c42c81a4de6d3cbe19fc62b976062b6bc2c160e1 | |
parent | Removes the fire if the block under the fire was broken. (diff) | |
download | cuberite-cb980145820b1bb016dac17a28731cc0b600442a.tar cuberite-cb980145820b1bb016dac17a28731cc0b600442a.tar.gz cuberite-cb980145820b1bb016dac17a28731cc0b600442a.tar.bz2 cuberite-cb980145820b1bb016dac17a28731cc0b600442a.tar.lz cuberite-cb980145820b1bb016dac17a28731cc0b600442a.tar.xz cuberite-cb980145820b1bb016dac17a28731cc0b600442a.tar.zst cuberite-cb980145820b1bb016dac17a28731cc0b600442a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 4b5c52c8c..f09e9531d 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1143,11 +1143,6 @@ void cClientHandle::HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_Blo World->BroadcastSoundParticleEffect(2001, a_BlockX, a_BlockY, a_BlockZ, a_OldBlock, this); World->DigBlock(a_BlockX, a_BlockY, a_BlockZ); - if (World->GetBlock(a_BlockX, a_BlockY + 1, a_BlockZ) == E_BLOCK_FIRE) - { - World->SetBlock(a_BlockX, a_BlockY + 1, a_BlockZ, E_BLOCK_AIR, 0); - } - cRoot::Get()->GetPluginManager()->CallHookPlayerBrokenBlock(*m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_OldBlock, a_OldMeta); } |