summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-01-28 16:32:01 +0100
committerMattes D <github@xoft.cz>2014-01-28 16:32:01 +0100
commit3390607ee5d31b9385a26a0e4bf563e15c7733a7 (patch)
tree8bd10f47243773945feac41d0b405b55dc34230a /src/World.h
parentFixed timing on *nix. (diff)
parentRenamed Farmer functions and added doxycomments (diff)
downloadcuberite-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.h3
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