diff options
author | peterbell10 <peterbell10@live.co.uk> | 2020-04-05 21:20:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 21:20:52 +0200 |
commit | 19ad96561c255fcc1e54ea3717a7d6afd50f5c92 (patch) | |
tree | b8497aaae1885ef1497b0733458d469422966860 /src/Chunk.h | |
parent | Add potatoes to washed away list also (diff) | |
download | cuberite-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 'src/Chunk.h')
-rw-r--r-- | src/Chunk.h | 1 |
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; } |