summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-08 16:17:33 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-08 16:17:33 +0200
commit6d36a82e190525f895bc93588d2e81f220ab5f5b (patch)
treea56da114a27e23dc99369a3145983754f3609e25 /source/cClientHandle.cpp
parentSimplify ifdef. Makes compiling possible on BSD (diff)
downloadcuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar
cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.gz
cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.bz2
cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.lz
cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.xz
cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.zst
cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.zip
Diffstat (limited to 'source/cClientHandle.cpp')
-rw-r--r--source/cClientHandle.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 4c4461201..11a534442 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -1271,6 +1271,11 @@ void cClientHandle::HandleBlockPlace(cPacket_BlockPlace * a_Packet)
}
break;
}
+ case E_ITEM_SUGARCANE:
+ {
+ a_Packet->m_ItemType = E_BLOCK_SUGARCANE;
+ break;
+ }
default:
{
break;