summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-02-25 17:26:48 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2015-02-25 17:26:48 +0100
commita56b6906d60f5b511aeb93cf765359634e4bcf6e (patch)
treea29cdf30c0794f4e740427ad4c08386bce350af8
parentMerge pull request #1762 from mc-server/LuaStringCompress (diff)
downloadcuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.tar
cuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.tar.gz
cuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.tar.bz2
cuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.tar.lz
cuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.tar.xz
cuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.tar.zst
cuberite-a56b6906d60f5b511aeb93cf765359634e4bcf6e.zip
-rw-r--r--src/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index a4198c322..08cb237c3 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -925,7 +925,7 @@ void cChunk::ApplyWeatherToTop()
{
SetBlock(X, Height + 1, Z, E_BLOCK_SNOW, 0);
}
- else if ((TopBlock == E_BLOCK_WATER) || (TopBlock == E_BLOCK_STATIONARY_WATER))
+ else if (IsBlockWater(TopBlock) && (TopMeta == 0))
{
SetBlock(X, Height, Z, E_BLOCK_ICE, 0);
}