diff options
author | Mattes D <github@xoft.cz> | 2016-01-12 10:19:14 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-01-12 10:19:14 +0100 |
commit | f1ca68051f554b65c9da514f0b4aaf1de86d56e3 (patch) | |
tree | bf31d7c92a8f1e96f3b7466fa2ef2d83725dde0b /src/World.h | |
parent | Merge pull request #2821 from LogicParrot/world2 (diff) | |
parent | Exported GetSeed to lua and added file extension opendb to .gitignore. (diff) | |
download | cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.tar cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.tar.gz cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.tar.bz2 cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.tar.lz cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.tar.xz cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.tar.zst cuberite-f1ca68051f554b65c9da514f0b4aaf1de86d56e3.zip |
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 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; } |