summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-29 13:11:49 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-29 13:11:49 +0100
commit736c7950a2b56d2f5296b4cc3695857dced65d51 (patch)
treed5d6cfc84cae9b9cd96624284b96a4404df3bbfc /src
parentAdd tallgrass drop to big flowers. (diff)
downloadcuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.tar
cuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.tar.gz
cuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.tar.bz2
cuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.tar.lz
cuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.tar.xz
cuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.tar.zst
cuberite-736c7950a2b56d2f5296b4cc3695857dced65d51.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockBigFlower.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Blocks/BlockBigFlower.h b/src/Blocks/BlockBigFlower.h
index 194a79a67..98d6502ab 100644
--- a/src/Blocks/BlockBigFlower.h
+++ b/src/Blocks/BlockBigFlower.h
@@ -84,6 +84,7 @@ public:
return (
a_RelY > 0
&& a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ) != E_BLOCK_AIR
+ && a_RelY < cChunkDef::Height
);
}