diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-23 00:28:25 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-23 00:28:25 +0200 |
commit | 932c59ee38ac29a300962ab0d2f35362a2deb485 (patch) | |
tree | 755a1e62f0b67ac4c8d059145a9e082d0cb11876 /src/BlockEntities | |
parent | Merge pull request #3048 from Woazboat/minecarts (diff) | |
parent | Reduced unnecessary block updates (diff) | |
download | cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.tar cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.tar.gz cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.tar.bz2 cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.tar.lz cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.tar.xz cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.tar.zst cuberite-932c59ee38ac29a300962ab0d2f35362a2deb485.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/ChestEntity.cpp | 2 | ||||
-rw-r--r-- | src/BlockEntities/ChestEntity.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp index bd6c19a2a..3791832e3 100644 --- a/src/BlockEntities/ChestEntity.cpp +++ b/src/BlockEntities/ChestEntity.cpp @@ -70,7 +70,7 @@ bool cChestEntity::UsedBy(cPlayer * a_Player) // The few false positives aren't much to worry about int ChunkX, ChunkZ; cChunkDef::BlockToChunk(m_PosX, m_PosZ, ChunkX, ChunkZ); - m_World->MarkChunkDirty(ChunkX, ChunkZ, true); + m_World->MarkChunkDirty(ChunkX, ChunkZ); return true; } diff --git a/src/BlockEntities/ChestEntity.h b/src/BlockEntities/ChestEntity.h index fac3dcdae..8953644e6 100644 --- a/src/BlockEntities/ChestEntity.h +++ b/src/BlockEntities/ChestEntity.h @@ -67,7 +67,6 @@ private: } m_World->MarkChunkDirty(GetChunkX(), GetChunkZ()); - m_World->MarkRedstoneDirty(GetChunkX(), GetChunkZ()); } } |