diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 15:55:47 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 15:55:47 +0100 |
commit | 77787fb719bf6437d4101f091b5b9acedea83dd3 (patch) | |
tree | eb13f018355bf2e9cd487936e525c8490cfc9ec3 /src | |
parent | Merge branch 'master' into ballisticmissiles (diff) | |
download | cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.tar cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.tar.gz cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.tar.bz2 cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.tar.lz cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.tar.xz cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.tar.zst cuberite-77787fb719bf6437d4101f091b5b9acedea83dd3.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index d268a4122..1bd55a461 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -949,7 +949,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, e cBlockHandler * BlockHandler = cBlockInfo::GetHandler(BlockType); BlockHandler->OnCancelRightClick(ChunkInterface, *World, m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace); - if (a_BlockFace > BLOCK_FACE_NONE) + if (a_BlockFace != BLOCK_FACE_NONE) { AddFaceDirection(a_BlockX, a_BlockY, a_BlockZ, a_BlockFace); World->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, m_Player); |