summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-06-04 12:29:08 +0200
committerworktycho <work.tycho@gmail.com>2014-06-04 12:29:08 +0200
commitae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b (patch)
tree355dcac96728191274c7f82eb5cef95e44d9c68a /src/ClientHandle.cpp
parentMake sure m_StackSizeToBeUsedInRepair Always has a valid value (diff)
downloadcuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.tar
cuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.tar.gz
cuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.tar.bz2
cuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.tar.lz
cuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.tar.xz
cuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.tar.zst
cuberite-ae37dfec8d44f2a4adca0c47bf3e490f85f1ed0b.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 080e859d1..d47ceff0e 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1306,7 +1306,7 @@ void cClientHandle::HandlePlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, e
if (!a_ItemHandler.GetPlacementBlockTypeMeta(World, m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, BlockType, BlockMeta))
{
// Handler refused the placement, send that information back to the client:
- World->SendBlockTo(a_BlockX, a_BlockY, a_BlockY, m_Player);
+ World->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, m_Player);
m_Player->GetInventory().SendEquippedSlot();
return;
}