diff options
author | madmaxoft <github@xoft.cz> | 2013-08-03 20:05:07 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-03 20:05:07 +0200 |
commit | b688ba9be8da66c2df428f0842be4b73092baa81 (patch) | |
tree | 20ba6b4b2145d4daca1ee0923ef3a9492c29f2cc /source/BlockEntities/ChestEntity.cpp | |
parent | Lump in some core changes. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | source/BlockEntities/ChestEntity.cpp | 2 |
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); } |