summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.cpp
diff options
context:
space:
mode:
authornpresley0506 <82075033+npresley0506@users.noreply.github.com>2021-04-23 14:51:59 +0200
committerGitHub <noreply@github.com>2021-04-23 14:51:59 +0200
commitd117a6c5db606a5624f3c910c257d90af5e7ec3b (patch)
tree620641d341e718e88d6e60ec6bb7c8651cd438ad /src/BlockEntities/ChestEntity.cpp
parentfix(docs): Correction of typos in project documentation (#5206) (diff)
downloadcuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.tar
cuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.tar.gz
cuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.tar.bz2
cuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.tar.lz
cuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.tar.xz
cuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.tar.zst
cuberite-d117a6c5db606a5624f3c910c257d90af5e7ec3b.zip
Diffstat (limited to 'src/BlockEntities/ChestEntity.cpp')
-rw-r--r--src/BlockEntities/ChestEntity.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp
index 9ede18759..3c80a7aa3 100644
--- a/src/BlockEntities/ChestEntity.cpp
+++ b/src/BlockEntities/ChestEntity.cpp
@@ -144,6 +144,15 @@ bool cChestEntity::UsedBy(cPlayer * a_Player)
+cChestEntity * cChestEntity::GetNeighbour()
+{
+ return m_Neighbour;
+}
+
+
+
+
+
void cChestEntity::ScanNeighbours()
{
// Callback for finding neighbouring chest.