summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-12-05 15:32:19 +0100
committerSamuel Barney <samjbarney@gmail.com>2013-12-05 15:32:19 +0100
commit8acfe21503f4b4fdccd03d0927ec8a11cd6457ec (patch)
tree1ea90086621fc11d433cd94ccd635d54c5a4380a /src/World.h
parentMade suggested changes (diff)
parentProtoProxy: Fixed metadata parsing. (diff)
downloadcuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar
cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.gz
cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.bz2
cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.lz
cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.xz
cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.zst
cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.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 a6b61f2e2..ea0db53e6 100644
--- a/src/World.h
+++ b/src/World.h
@@ -129,6 +129,8 @@ public:
bool IsPVPEnabled(void) const { return m_bEnabledPVP; }
bool IsDeepSnowEnabled(void) const { return m_IsDeepSnowEnabled; }
+ bool ShouldLavaSpawnFire(void) const { return m_ShouldLavaSpawnFire; }
+
eDimension GetDimension(void) const { return m_Dimension; }
/// Returns the world height at the specified coords; waits for the chunk to get loaded / generated
@@ -654,6 +656,7 @@ private:
eGameMode m_GameMode;
bool m_bEnabledPVP;
bool m_IsDeepSnowEnabled;
+ bool m_ShouldLavaSpawnFire;
// The cRedstone class simulates redstone and needs access to m_RSList
// friend class cRedstone;