summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-12 23:06:25 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-12 23:06:25 +0200
commite71e432633a26d0ab24d2da7e3707e4ab7060296 (patch)
treeb7c83bb6d1040f86907a1f49e0d33e9bdd0a645c /src/Chunk.cpp
parentSuggestions (diff)
downloadcuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.tar
cuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.tar.gz
cuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.tar.bz2
cuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.tar.lz
cuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.tar.xz
cuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.tar.zst
cuberite-e71e432633a26d0ab24d2da7e3707e4ab7060296.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index c1f9dbfd6..3c63a2dc9 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -2123,7 +2123,7 @@ bool cChunk::DoWithChestAt(int a_BlockX, int a_BlockY, int a_BlockZ, cChestCallb
{
continue;
}
- if (((*itr)->GetBlockType() != E_BLOCK_CHEST) && ((*itr)->GetBlockType() != E_BLOCK_TRAPPED_CHEST) /* Trapped chests use normal chests' handlers */)
+ if (((*itr)->GetBlockType() != E_BLOCK_CHEST) && ((*itr)->GetBlockType() != E_BLOCK_TRAPPED_CHEST)) // Trapped chests use normal chests' handlers
{
// There is a block entity here, but of different type. No other block entity can be here, so we can safely bail out
return false;