summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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();