diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-16 19:40:35 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-16 19:40:35 +0200 |
commit | 032ce6b95ee83be1c853006834c34aef95782e53 (patch) | |
tree | 40d0ee18885a94081859f48d9e2ff31d54ee3387 /src/World.h | |
parent | Merge pull request #3144 from cuberite/issue-template (diff) | |
parent | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage (diff) | |
download | cuberite-032ce6b95ee83be1c853006834c34aef95782e53.tar cuberite-032ce6b95ee83be1c853006834c34aef95782e53.tar.gz cuberite-032ce6b95ee83be1c853006834c34aef95782e53.tar.bz2 cuberite-032ce6b95ee83be1c853006834c34aef95782e53.tar.lz cuberite-032ce6b95ee83be1c853006834c34aef95782e53.tar.xz cuberite-032ce6b95ee83be1c853006834c34aef95782e53.tar.zst cuberite-032ce6b95ee83be1c853006834c34aef95782e53.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index 93c566ce5..64c4a19f1 100644 --- a/src/World.h +++ b/src/World.h @@ -401,7 +401,8 @@ public: { return m_ChunkMap->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ); } - void SetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData); + + void SetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData, bool a_ShouldMarkDirty = true, bool a_ShouldInformClient = true); NIBBLETYPE GetBlockSkyLight (int a_BlockX, int a_BlockY, int a_BlockZ); NIBBLETYPE GetBlockBlockLight(int a_BlockX, int a_BlockY, int a_BlockZ); |