diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-06 15:16:16 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-16 18:04:45 +0200 |
commit | 373d9f92a4000d3243fc94d8b5cfb1b64961525d (patch) | |
tree | 40d0ee18885a94081859f48d9e2ff31d54ee3387 /src/World.cpp | |
parent | Merge pull request #3144 from cuberite/issue-template (diff) | |
download | cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.tar cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.tar.gz cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.tar.bz2 cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.tar.lz cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.tar.xz cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.tar.zst cuberite-373d9f92a4000d3243fc94d8b5cfb1b64961525d.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index d8b77647a..0649d2bb2 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2030,9 +2030,11 @@ void cWorld::SetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_Bloc -void cWorld::SetBlockMeta(int a_X, int a_Y, int a_Z, NIBBLETYPE a_MetaData) + + +void cWorld::SetBlockMeta(int a_X, int a_Y, int a_Z, NIBBLETYPE a_MetaData, bool a_ShouldMarkDirty, bool a_ShouldInformClient) { - m_ChunkMap->SetBlockMeta(a_X, a_Y, a_Z, a_MetaData); + m_ChunkMap->SetBlockMeta(a_X, a_Y, a_Z, a_MetaData, a_ShouldMarkDirty, a_ShouldInformClient); } |