summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCrops.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-03 22:14:52 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-03 22:14:52 +0100
commit6bbba2644d520204c50b48d67ca294fcd9b0a5c4 (patch)
treec5b2afbcedac878214228cef68d3bebd96c1fd07 /src/Blocks/BlockCrops.h
parentServer now handles join messages also (diff)
downloadcuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.tar
cuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.tar.gz
cuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.tar.bz2
cuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.tar.lz
cuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.tar.xz
cuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.tar.zst
cuberite-6bbba2644d520204c50b48d67ca294fcd9b0a5c4.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockCrops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockCrops.h b/src/Blocks/BlockCrops.h
index 4c4ac21be..ffc2b3f8b 100644
--- a/src/Blocks/BlockCrops.h
+++ b/src/Blocks/BlockCrops.h
@@ -87,7 +87,7 @@ public:
if ((Meta < 7) && (Light > 8))
{
- a_Chunk.FastSetBlock(a_RelX, a_RelY, a_RelZ, E_BLOCK_CROPS, ++Meta);
+ a_Chunk.FastSetBlock(a_RelX, a_RelY, a_RelZ, m_BlockType, ++Meta);
}
else if (Light < 9)
{