diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-15 13:18:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-15 13:18:14 +0200 |
commit | 411f0b5fa415565cb9625f61730ec94c08f7d530 (patch) | |
tree | cb74bf20077cbf58dca1700e945788d59b0b1cbc /source/ClientHandle.cpp | |
parent | Removed torch top placement prevention (diff) | |
download | cuberite-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 'source/ClientHandle.cpp')
-rw-r--r-- | source/ClientHandle.cpp | 9 |
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? |