summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-15 13:18:14 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-15 13:18:14 +0200
commit411f0b5fa415565cb9625f61730ec94c08f7d530 (patch)
treecb74bf20077cbf58dca1700e945788d59b0b1cbc /source/ClientHandle.cpp
parentRemoved torch top placement prevention (diff)
downloadcuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.tar
cuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.tar.gz
cuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.tar.bz2
cuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.tar.lz
cuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.tar.xz
cuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.tar.zst
cuberite-411f0b5fa415565cb9625f61730ec94c08f7d530.zip
Diffstat (limited to '')
-rw-r--r--source/ClientHandle.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 3d819ee18..f915fd7ae 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -908,15 +908,6 @@ void cClientHandle::HandlePlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, c
}
else
{
- // Check for Blocks not allowing placement on top
- if ((a_BlockFace == BLOCK_FACE_TOP) && !Handler->DoesAllowBlockOnTop())
- {
- // Resend the old block
- // Sometimes the client still places the block O.o
- World->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, m_Player);
- return;
- }
-
if (!BlockHandler(PlaceBlock)->DoesIgnoreBuildCollision())
{
// Tried to place a block *into* another?