diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 01:37:19 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 01:37:19 +0200 |
commit | 4e2d75bde56a8c0913006b5978ff418ea042ef0b (patch) | |
tree | 66052847d8e76f5891f290689796953849f972b6 /src/ClientHandle.cpp | |
parent | 1.8: Fixed workbench, enchanting and anvil window. (diff) | |
download | cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.tar cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.tar.gz cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.tar.bz2 cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.tar.lz cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.tar.xz cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.tar.zst cuberite-4e2d75bde56a8c0913006b5978ff418ea042ef0b.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 3b32b06b9..2bffc3cb1 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1207,6 +1207,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, e if ( (a_BlockFace != BLOCK_FACE_NONE) && // The client is interacting with a specific block + IsValidBlock(a_HeldItem.m_ItemType) && ((Vector3d(a_BlockX, a_BlockY, a_BlockZ) - m_Player->GetPosition()).Length() >= 5) ) { |