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/HopperEntity.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/HopperEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockEntities/HopperEntity.cpp b/source/BlockEntities/HopperEntity.cpp index 23e4b8096..591db7b4d 100644 --- a/source/BlockEntities/HopperEntity.cpp +++ b/source/BlockEntities/HopperEntity.cpp @@ -125,7 +125,7 @@ void cHopperEntity::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); } |