summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-27 22:02:19 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-27 22:02:19 +0100
commitbabc80ed777f2ee74ce770d95bd3ec5743370570 (patch)
tree3ae0e484d679acc57fc76c982c7f52268cef5f3c /src/World.h
parentVillager: Few more comments. (diff)
downloadcuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.tar
cuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.tar.gz
cuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.tar.bz2
cuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.tar.lz
cuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.tar.xz
cuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.tar.zst
cuberite-babc80ed777f2ee74ce770d95bd3ec5743370570.zip
Diffstat (limited to '')
-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