summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2020-04-05 21:20:52 +0200
committerGitHub <noreply@github.com>2020-04-05 21:20:52 +0200
commit19ad96561c255fcc1e54ea3717a7d6afd50f5c92 (patch)
treeb8497aaae1885ef1497b0733458d469422966860 /src/Chunk.h
parentAdd potatoes to washed away list also (diff)
downloadcuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.tar
cuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.tar.gz
cuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.tar.bz2
cuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.tar.lz
cuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.tar.xz
cuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.tar.zst
cuberite-19ad96561c255fcc1e54ea3717a7d6afd50f5c92.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 39dc07a9f..7ba12f5ef 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -151,6 +151,7 @@ public:
int GetPosX(void) const { return m_PosX; }
int GetPosZ(void) const { return m_PosZ; }
+ cChunkCoords GetPos() const { return {m_PosX, m_PosZ}; }
cWorld * GetWorld(void) const { return m_World; }