diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-26 22:45:13 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:08:06 +0200 |
commit | b084f1f13fdd73e10fe296ef7d48a3c8beb95585 (patch) | |
tree | 84f4c6dc62444de0dbf5e89436ab898143bf683b /src/Blocks/BlockLeaves.h | |
parent | 1.13+: Send length-prefixed server Brand string (diff) | |
download | cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.tar cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.tar.gz cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.tar.bz2 cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.tar.lz cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.tar.xz cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.tar.zst cuberite-b084f1f13fdd73e10fe296ef7d48a3c8beb95585.zip |
Diffstat (limited to 'src/Blocks/BlockLeaves.h')
-rw-r--r-- | src/Blocks/BlockLeaves.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockLeaves.h b/src/Blocks/BlockLeaves.h index c936e0405..cd2b62743 100644 --- a/src/Blocks/BlockLeaves.h +++ b/src/Blocks/BlockLeaves.h @@ -155,7 +155,7 @@ public: // Set bit 0x08, so this block gets checked for decay: if ((meta & 0x08) == 0) { - a_ChunkInterface.SetBlockMeta(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z, meta | 0x8, true, false); + a_ChunkInterface.SetBlockMeta(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z, meta | 0x8); } } @@ -201,7 +201,7 @@ public: if (HasNearLog(Area, worldPos)) { // Wood found, the leaves stay; unset the check bit - a_Chunk.SetMeta(a_RelPos, Meta ^ 0x08, true, false); + a_Chunk.SetMeta(a_RelPos, Meta ^ 0x08); return; } |