diff options
author | Mattes D <github@xoft.cz> | 2016-09-12 23:21:15 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-09-12 23:21:15 +0200 |
commit | 2622a8622ae94500cfab59ec8599e9348891c8f8 (patch) | |
tree | 26d1f1adebabe0b8d7426bf8ac1eea6a6c0def14 /src/World.h | |
parent | APIDump: Support structured parameter info. (diff) | |
download | cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.gz cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.bz2 cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.lz cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.xz cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.zst cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index a33831eb9..de34af1d2 100644 --- a/src/World.h +++ b/src/World.h @@ -477,7 +477,8 @@ 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. */ + /** Set default spawn at the given coordinates. + Returns false if the new spawn couldn't be stored in the INI file. */ bool SetSpawn(double a_X, double a_Y, double a_Z); double GetSpawnX(void) const { return m_SpawnX; } |