summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-05-10 18:56:59 +0200
committerTycho <work.tycho+git@gmail.com>2014-05-10 18:56:59 +0200
commit7ca33bd832575ea94f8409087c804feb86280c15 (patch)
tree1d9b7d175b4def7d61d70aa73907ecb78e354164 /src
parentMerge branch 'master' into chunksparsing/structs (diff)
downloadcuberite-7ca33bd832575ea94f8409087c804feb86280c15.tar
cuberite-7ca33bd832575ea94f8409087c804feb86280c15.tar.gz
cuberite-7ca33bd832575ea94f8409087c804feb86280c15.tar.bz2
cuberite-7ca33bd832575ea94f8409087c804feb86280c15.tar.lz
cuberite-7ca33bd832575ea94f8409087c804feb86280c15.tar.xz
cuberite-7ca33bd832575ea94f8409087c804feb86280c15.tar.zst
cuberite-7ca33bd832575ea94f8409087c804feb86280c15.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 26f1e9d10..038be42de 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -328,7 +328,7 @@ public:
}
inline void SetMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_Meta)
{
- if (!GetMeta(a_RelX, a_RelY, a_RelZ) == a_Meta)
+ if (!(GetMeta(a_RelX, a_RelY, a_RelZ) == a_Meta))
{
MarkDirty();
m_ChunkBuffer.SetMeta(a_RelX, a_RelY, a_RelZ, a_Meta);