diff options
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index fbe1f4a6d..c1794b159 100644 --- a/src/World.h +++ b/src/World.h @@ -475,6 +475,9 @@ public: bool DigBlock (int a_X, int a_Y, int a_Z); virtual void SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer * a_Player) override; + /** Set default spawn at the given coordinates. */ + bool SetSpawn(double a_X, double a_Y, double a_Z); + double GetSpawnX(void) const { return m_SpawnX; } double GetSpawnY(void) const { return m_SpawnY; } double GetSpawnZ(void) const { return m_SpawnZ; } |