summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities/ChestEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-03 20:05:07 +0200
committermadmaxoft <github@xoft.cz>2013-08-03 20:05:07 +0200
commitb688ba9be8da66c2df428f0842be4b73092baa81 (patch)
tree20ba6b4b2145d4daca1ee0923ef3a9492c29f2cc /source/BlockEntities/ChestEntity.cpp
parentLump in some core changes. (diff)
downloadcuberite-b688ba9be8da66c2df428f0842be4b73092baa81.tar
cuberite-b688ba9be8da66c2df428f0842be4b73092baa81.tar.gz
cuberite-b688ba9be8da66c2df428f0842be4b73092baa81.tar.bz2
cuberite-b688ba9be8da66c2df428f0842be4b73092baa81.tar.lz
cuberite-b688ba9be8da66c2df428f0842be4b73092baa81.tar.xz
cuberite-b688ba9be8da66c2df428f0842be4b73092baa81.tar.zst
cuberite-b688ba9be8da66c2df428f0842be4b73092baa81.zip
Diffstat (limited to 'source/BlockEntities/ChestEntity.cpp')
-rw-r--r--source/BlockEntities/ChestEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockEntities/ChestEntity.cpp b/source/BlockEntities/ChestEntity.cpp
index 24d2aef11..d5cd076be 100644
--- a/source/BlockEntities/ChestEntity.cpp
+++ b/source/BlockEntities/ChestEntity.cpp
@@ -123,7 +123,7 @@ void cChestEntity::UsedBy(cPlayer * a_Player)
// We cannot properly detect contents change, but such a change doesn't happen without a player opening the chest first.
// The few false positives aren't much to worry about
int ChunkX, ChunkZ;
- cChunkDef::BlockToChunk(m_PosX, m_PosY, m_PosZ, ChunkX, ChunkZ);
+ cChunkDef::BlockToChunk(m_PosX, m_PosZ, ChunkX, ChunkZ);
m_World->MarkChunkDirty(ChunkX, ChunkZ);
}