summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.h
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.h
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.h')
-rw-r--r--src/BlockEntities/ChestEntity.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BlockEntities/ChestEntity.h b/src/BlockEntities/ChestEntity.h
index ee59fa7b9..02b182481 100644
--- a/src/BlockEntities/ChestEntity.h
+++ b/src/BlockEntities/ChestEntity.h
@@ -46,6 +46,9 @@ public:
/** Search horizontally adjacent blocks for neighbouring chests of the same type and links them together. */
void ScanNeighbours();
+ /** Returns the value of m_Neighbour. */
+ cChestEntity * GetNeighbour();
+
/** Opens a new chest window where this is the primary chest and any neighbour is the secondary. */
void OpenNewWindow();