summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-18 09:57:34 +0200
committermadmaxoft <github@xoft.cz>2014-07-18 09:57:34 +0200
commit2df5e26d3b7f08ef7d120511705fa0b75a44783e (patch)
tree29c7d3211df380072585b5cfcb63d7e525d451ef /src/BlockEntities
parentRemoved duplicate IPvX labels. (diff)
downloadcuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.gz
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.bz2
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.lz
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.xz
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.zst
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.zip
Diffstat (limited to 'src/BlockEntities')
-rw-r--r--src/BlockEntities/ChestEntity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp
index 9f50365e9..21e1f6ba2 100644
--- a/src/BlockEntities/ChestEntity.cpp
+++ b/src/BlockEntities/ChestEntity.cpp
@@ -169,8 +169,8 @@ void cChestEntity::OpenNewWindow(void)
if (
m_World->DoWithChestAt(m_PosX - 1, m_PosY, m_PosZ, OpenDbl) ||
m_World->DoWithChestAt(m_PosX + 1, m_PosY, m_PosZ, OpenDbl) ||
- m_World->DoWithChestAt(m_PosX , m_PosY, m_PosZ - 1, OpenDbl) ||
- m_World->DoWithChestAt(m_PosX , m_PosY, m_PosZ + 1, OpenDbl)
+ m_World->DoWithChestAt(m_PosX, m_PosY, m_PosZ - 1, OpenDbl) ||
+ m_World->DoWithChestAt(m_PosX, m_PosY, m_PosZ + 1, OpenDbl)
)
{
// The double-chest window has been opened in the callback