summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-01-08 19:43:23 +0100
committerMattes D <github@xoft.cz>2016-01-12 10:18:24 +0100
commitfe72eaaec2b2c88c57d1ac64f527925127003bf8 (patch)
treebf31d7c92a8f1e96f3b7466fa2ef2d83725dde0b /src
parentMerge pull request #2821 from LogicParrot/world2 (diff)
downloadcuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.tar
cuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.tar.gz
cuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.tar.bz2
cuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.tar.lz
cuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.tar.xz
cuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.tar.zst
cuberite-fe72eaaec2b2c88c57d1ac64f527925127003bf8.zip
Diffstat (limited to 'src')
-rw-r--r--src/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index e9206e176..95ac6b21b 100644
--- a/src/World.h
+++ b/src/World.h
@@ -757,6 +757,9 @@ public:
return (IsWeatherWet() && !IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)));
}
+ /** Returns the seed of the world. */
+ int GetSeed(void) { return m_Generator.GetSeed(); }
+
// tolua_end
cChunkGenerator & GetGenerator(void) { return m_Generator; }