summaryrefslogtreecommitdiffstats
path: root/src/World.h
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/World.h
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/World.h')
-rw-r--r--src/World.h3
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);