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/ChunkMap.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/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 156d93e2f..5599f5835 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1230,7 +1230,7 @@ NIBBLETYPE cChunkMap::GetBlockBlockLight(int a_BlockX, int a_BlockY, int a_Block -void cChunkMap::SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_BlockMeta) +void cChunkMap::SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_BlockMeta, bool a_ShouldMarkDirty, bool a_ShouldInformClient) { int ChunkX, ChunkZ; cChunkDef::AbsoluteToRelative(a_BlockX, a_BlockY, a_BlockZ, ChunkX, ChunkZ); @@ -1240,7 +1240,7 @@ void cChunkMap::SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYP cChunkPtr Chunk = GetChunk(ChunkX, ChunkZ); if ((Chunk != nullptr) && Chunk->IsValid()) { - Chunk->SetMeta(a_BlockX, a_BlockY, a_BlockZ, a_BlockMeta); + Chunk->SetMeta(a_BlockX, a_BlockY, a_BlockZ, a_BlockMeta, a_ShouldMarkDirty, a_ShouldInformClient); } } |