summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-16 20:12:43 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-16 20:12:43 +0200
commit861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f (patch)
tree5069936a3f57c440940391d3ab7cff5c9daa6dc3 /source/cClientHandle.cpp
parentQuick fix to support authentication. (diff)
downloadcuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.tar
cuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.tar.gz
cuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.tar.bz2
cuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.tar.lz
cuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.tar.xz
cuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.tar.zst
cuberite-861fa61dfcbab0aaa27d70bb47eff27ace8e7c3f.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 bd02e31c3..e4c501a4f 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -1270,6 +1270,11 @@ void cClientHandle::HandleBlockPlace(cPacket_BlockPlace * a_Packet)
bRemoveItem = false;
break;
}
+ case E_BLOCK_LEAVES:
+ {
+ MetaData += 0x4;
+ break;
+ }
case E_ITEM_SEEDS:
{
if (ClickedBlock != E_BLOCK_FARMLAND)