diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-05 22:07:39 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-06 21:56:05 +0200 |
commit | 3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071 (patch) | |
tree | dc50853a285f479a8561f4f2c3c19ab5ea7e1960 /src/Blocks/BlockGrass.h | |
parent | Use enum to represent light states (diff) | |
download | cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.tar cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.tar.gz cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.tar.bz2 cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.tar.lz cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.tar.xz cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.tar.zst cuberite-3f33b0736e8ab8650ac82d3a3bf3fa9a8cd1c071.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockGrass.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockGrass.h b/src/Blocks/BlockGrass.h index 2bae49281..d91a6ef2e 100644 --- a/src/Blocks/BlockGrass.h +++ b/src/Blocks/BlockGrass.h @@ -111,8 +111,8 @@ private: return Survivability::CanSpread; } - // Grass turns back to dirt when the block Above it is not transparent or water. - // It does not turn to dirt when a snow layer is Above. + // Grass turns back to dirt when the block above it is not transparent or water. + // It does not turn to dirt when a snow layer is above. const auto Above = a_Chunk.GetBlock(AbovePos); if ( (Above != E_BLOCK_SNOW) && |