diff options
author | Mattes D <github@xoft.cz> | 2016-07-06 12:39:56 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-07-18 22:11:40 +0200 |
commit | f8e1df2476074a86e4dc25204c2250a6111245de (patch) | |
tree | 863ea680019654b87a86b98f26854d90ad53826e /src/Chunk.h | |
parent | Vector3: Removed useless NormalizeCopy overload from LuaAPI. (diff) | |
download | cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.tar cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.tar.gz cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.tar.bz2 cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.tar.lz cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.tar.xz cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.tar.zst cuberite-f8e1df2476074a86e4dc25204c2250a6111245de.zip |
Diffstat (limited to 'src/Chunk.h')
-rw-r--r-- | src/Chunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.h b/src/Chunk.h index 162c8de96..925680fdd 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -397,7 +397,7 @@ public: /** Set a meta value, with the option of not informing the client and / or not marking dirty. Used for setting metas that are of little value for saving to disk and / or for sending to the client, such as leaf decay flags. */ - inline void SetMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_Meta, bool a_ShouldMarkDirty = true, bool a_ShouldInformClient = true) + inline void SetMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_Meta, bool a_ShouldMarkDirty = true, bool a_ShouldInformClients = true) { bool hasChanged = m_ChunkData.SetMeta(a_RelX, a_RelY, a_RelZ, a_Meta); if (hasChanged) @@ -406,7 +406,7 @@ public: { MarkDirty(); } - if (a_ShouldInformClient) + if (a_ShouldInformClients) { m_PendingSendBlocks.push_back(sSetBlock(m_PosX, m_PosZ, a_RelX, a_RelY, a_RelZ, GetBlock(a_RelX, a_RelY, a_RelZ), a_Meta)); } |