summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Chunk.h')
-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);