1
0
Fork 0

Lilypads can be on top of (frosted) ice (#4122)

Fixes #4117
This commit is contained in:
Bond-009 2017-12-27 19:47:28 +01:00 committed by peterbell10
parent 6309c6a97f
commit 00da9006b7
1 changed files with 2 additions and 2 deletions

View File

@ -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
);
}
};