diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-28 23:51:39 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-28 23:51:39 +0100 |
commit | 8ece214920cc9cbec2c04cfa046b451a2553e279 (patch) | |
tree | 1ca22b2c3e7f5ffe1ef566e254b81ebe2f0e400e | |
parent | Some fixes to lilypads (diff) | |
download | cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.tar cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.tar.gz cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.tar.bz2 cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.tar.lz cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.tar.xz cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.tar.zst cuberite-8ece214920cc9cbec2c04cfa046b451a2553e279.zip |
-rw-r--r-- | src/Chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 957d7d575..ea961733f 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -884,7 +884,7 @@ void cChunk::ApplyWeatherToTop() FastSetBlock(X, Height, Z, E_BLOCK_SNOW, TopMeta - 1); } } - else if (cBlockInfo::IsSnowable(TopBlock)) + else if (cBlockInfo::IsSnowable(TopBlock) && (Height + 1 < cChunkDef::Height)) { SetBlock(X, Height + 1, Z, E_BLOCK_SNOW, 0); } |