summaryrefslogtreecommitdiffstats
path: root/src/Blocks/ChunkInterface.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-04-06 15:16:16 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-04-16 18:04:45 +0200
commit373d9f92a4000d3243fc94d8b5cfb1b64961525d (patch)
tree40d0ee18885a94081859f48d9e2ff31d54ee3387 /src/Blocks/ChunkInterface.cpp
parentMerge pull request #3144 from cuberite/issue-template (diff)
downloadcuberite-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/Blocks/ChunkInterface.cpp')
-rw-r--r--src/Blocks/ChunkInterface.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Blocks/ChunkInterface.cpp b/src/Blocks/ChunkInterface.cpp
index 7fa2981e9..1f2a97d08 100644
--- a/src/Blocks/ChunkInterface.cpp
+++ b/src/Blocks/ChunkInterface.cpp
@@ -61,17 +61,14 @@ void cChunkInterface::SetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTY
-
-void cChunkInterface::SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData)
+void cChunkInterface::SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData, bool a_ShouldMarkDirty, bool a_ShouldInformClient)
{
- m_ChunkMap->SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, a_MetaData);
+ m_ChunkMap->SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, a_MetaData, a_ShouldMarkDirty, a_ShouldInformClient);
}
-
-
/** Sets the block at the specified coords to the specified value.
The replacement doesn't trigger block updates.
The replaced blocks aren't checked for block entities (block entity is leaked if it exists at this block)