summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-09-13 09:43:02 +0200
committerGitHub <noreply@github.com>2016-09-13 09:43:02 +0200
commitca99e754ea430f500e79c5d929754c7e5946329b (patch)
tree5ea029a2a87d445f52ee80ca73c71e4bd37d3a0a /src/World.h
parentBindings: Fixed some function signatures comments. (diff)
parentCIBuild: Mark as failure on duplicate API docs. (diff)
downloadcuberite-ca99e754ea430f500e79c5d929754c7e5946329b.tar
cuberite-ca99e754ea430f500e79c5d929754c7e5946329b.tar.gz
cuberite-ca99e754ea430f500e79c5d929754c7e5946329b.tar.bz2
cuberite-ca99e754ea430f500e79c5d929754c7e5946329b.tar.lz
cuberite-ca99e754ea430f500e79c5d929754c7e5946329b.tar.xz
cuberite-ca99e754ea430f500e79c5d929754c7e5946329b.tar.zst
cuberite-ca99e754ea430f500e79c5d929754c7e5946329b.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h3
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; }