diff options
author | Mattes D <github@xoft.cz> | 2014-01-28 16:32:01 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-28 16:32:01 +0100 |
commit | 3390607ee5d31b9385a26a0e4bf563e15c7733a7 (patch) | |
tree | 8bd10f47243773945feac41d0b405b55dc34230a /src/World.h | |
parent | Fixed timing on *nix. (diff) | |
parent | Renamed Farmer functions and added doxycomments (diff) | |
download | cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.tar cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.tar.gz cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.tar.bz2 cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.tar.lz cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.tar.xz cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.tar.zst cuberite-3390607ee5d31b9385a26a0e4bf563e15c7733a7.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 d7a7241d1..4d5659ee6 100644 --- a/src/World.h +++ b/src/World.h @@ -138,6 +138,8 @@ public: bool ShouldLavaSpawnFire(void) const { return m_ShouldLavaSpawnFire; } + bool VillagersShouldHarvestCrops(void) const { return m_VillagersShouldHarvestCrops; } + eDimension GetDimension(void) const { return m_Dimension; } /** Returns the world height at the specified coords; waits for the chunk to get loaded / generated */ @@ -743,6 +745,7 @@ private: bool m_bEnabledPVP; bool m_IsDeepSnowEnabled; bool m_ShouldLavaSpawnFire; + bool m_VillagersShouldHarvestCrops; std::vector<BlockTickQueueItem *> m_BlockTickQueue; std::vector<BlockTickQueueItem *> m_BlockTickQueueCopy; // Second is for safely removing the objects from the queue |