summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-29 17:45:46 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-29 17:45:46 +0200
commit623adcad0f56418f83cc3556793ba3610f65a23f (patch)
treee79ff1cf4cb8acaa16ce926bf49667df414bac34 /source/ClientHandle.cpp
parentAdvanced RCON: Command output is sent to the RCON client. (diff)
downloadcuberite-623adcad0f56418f83cc3556793ba3610f65a23f.tar
cuberite-623adcad0f56418f83cc3556793ba3610f65a23f.tar.gz
cuberite-623adcad0f56418f83cc3556793ba3610f65a23f.tar.bz2
cuberite-623adcad0f56418f83cc3556793ba3610f65a23f.tar.lz
cuberite-623adcad0f56418f83cc3556793ba3610f65a23f.tar.xz
cuberite-623adcad0f56418f83cc3556793ba3610f65a23f.tar.zst
cuberite-623adcad0f56418f83cc3556793ba3610f65a23f.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index e1ade39e7..8e031a124 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -783,7 +783,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, c
cItemHandler * ItemHandler = cItemHandler::GetItemHandler(Equipped.m_ItemType);
- if (ItemHandler->IsPlaceable() || m_Player->IsCrouched())
+ if (ItemHandler->IsPlaceable())
{
HandlePlaceBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, *ItemHandler);
}