summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2017-12-27 19:47:28 +0100
committerpeterbell10 <peterbell10@live.co.uk>2017-12-27 19:47:28 +0100
commit00da9006b7765808beaa3159243ca22b2645f0ef (patch)
tree6b4e544158650123f3ccc313ef0f2c86ad0c3481
parentimprove rain simulation (#4017) (diff)
downloadcuberite-00da9006b7765808beaa3159243ca22b2645f0ef.tar
cuberite-00da9006b7765808beaa3159243ca22b2645f0ef.tar.gz
cuberite-00da9006b7765808beaa3159243ca22b2645f0ef.tar.bz2
cuberite-00da9006b7765808beaa3159243ca22b2645f0ef.tar.lz
cuberite-00da9006b7765808beaa3159243ca22b2645f0ef.tar.xz
cuberite-00da9006b7765808beaa3159243ca22b2645f0ef.tar.zst
cuberite-00da9006b7765808beaa3159243ca22b2645f0ef.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockLilypad.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockLilypad.h b/src/Blocks/BlockLilypad.h
index 398d2b64b..9c4edaecc 100644
--- a/src/Blocks/BlockLilypad.h
+++ b/src/Blocks/BlockLilypad.h
@@ -35,8 +35,8 @@ public:
NIBBLETYPE UnderMeta;
a_Chunk.GetBlockTypeMeta(a_RelX, a_RelY - 1, a_RelZ, UnderType, UnderMeta);
return (
- ((UnderType == E_BLOCK_STATIONARY_WATER) || (UnderType == E_BLOCK_WATER)) && // Water is below...
- (UnderMeta == 0) // ... and it's a source
+ (((UnderType == E_BLOCK_STATIONARY_WATER) || (UnderType == E_BLOCK_WATER)) && (UnderMeta == 0)) || // A water source is below
+ (UnderType == E_BLOCK_ICE) || (UnderType == E_BLOCK_FROSTED_ICE) // Or (frosted) ice
);
}
};