summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities/ChestEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-07 15:46:43 +0200
committermadmaxoft <github@xoft.cz>2013-08-07 15:46:43 +0200
commit3d027a8928ee423ee6a475637752bd50a5f0d44c (patch)
tree82c6993605326422e188410dda8b897a28ce16ef /source/BlockEntities/ChestEntity.cpp
parentMerge pull request #47 from tonibm19/master (diff)
parentDebuggers plugin: added the "/spidey" command. (diff)
downloadcuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.tar
cuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.tar.gz
cuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.tar.bz2
cuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.tar.lz
cuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.tar.xz
cuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.tar.zst
cuberite-3d027a8928ee423ee6a475637752bd50a5f0d44c.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);
}