summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-11 23:12:32 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-11 23:12:32 +0200
commitcb980145820b1bb016dac17a28731cc0b600442a (patch)
treec42c81a4de6d3cbe19fc62b976062b6bc2c160e1 /src/ClientHandle.cpp
parentRemoves the fire if the block under the fire was broken. (diff)
downloadcuberite-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.cpp5
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);
}