summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-07 00:23:28 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-07 11:39:36 +0200
commitd5649df326d90361bbf64e2ebb4893caa0499521 (patch)
treede38490e93899d6a5ccc13415ccfc85618b78256 /src/ChunkData.cpp
parentFixed mob hitbox sizes, removed TODOs (diff)
downloadcuberite-d5649df326d90361bbf64e2ebb4893caa0499521.tar
cuberite-d5649df326d90361bbf64e2ebb4893caa0499521.tar.gz
cuberite-d5649df326d90361bbf64e2ebb4893caa0499521.tar.bz2
cuberite-d5649df326d90361bbf64e2ebb4893caa0499521.tar.lz
cuberite-d5649df326d90361bbf64e2ebb4893caa0499521.tar.xz
cuberite-d5649df326d90361bbf64e2ebb4893caa0499521.tar.zst
cuberite-d5649df326d90361bbf64e2ebb4893caa0499521.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkData.cpp b/src/ChunkData.cpp
index 1fa2fd212..f2d220bd2 100644
--- a/src/ChunkData.cpp
+++ b/src/ChunkData.cpp
@@ -258,7 +258,7 @@ bool cChunkData::SetMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_Nibble
(m_Sections[Section]->m_BlockMetas[Index / 2] & (0xf0 >> ((Index & 1) * 4))) | // The untouched nibble
((a_Nibble & 0x0f) << ((Index & 1) * 4)) // The nibble being set
);
- return oldval == a_Nibble;
+ return oldval != a_Nibble;
}