summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-10 19:35:02 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-10 19:35:02 +0100
commit462829e23d8d3404e58ffc64fd19cf39e9be218f (patch)
tree03967c04656bef031d5640a53163a72f236898bf /src/World.cpp
parentAdded extra awesomeness to TNT (diff)
downloadcuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.tar
cuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.tar.gz
cuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.tar.bz2
cuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.tar.lz
cuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.tar.xz
cuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.tar.zst
cuberite-462829e23d8d3404e58ffc64fd19cf39e9be218f.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index d6b88f187..89d0cf454 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -250,8 +250,6 @@ cWorld::cWorld(const AString & a_WorldName) :
m_SkyDarkness(0),
m_Weather(eWeather_Sunny),
m_WeatherInterval(24000), // Guaranteed 1 day of sunshine at server start :)
- m_bCommandBlocksEnabled(false),
- m_bUseChatPrefixes(true),
m_Scoreboard(this),
m_MapManager(this),
m_GeneratorCallbacks(*this),
@@ -554,6 +552,7 @@ void cWorld::Start(void)
m_IsSugarcaneBonemealable = IniFile.GetValueSetB("Plants", "IsSugarcaneBonemealable", false);
m_IsDeepSnowEnabled = IniFile.GetValueSetB("Physics", "DeepSnow", true);
m_ShouldLavaSpawnFire = IniFile.GetValueSetB("Physics", "ShouldLavaSpawnFire", true);
+ m_bTNTSpawnsShrapnel = IniFile.GetValueSetB("Physics", "IsTNTShrapnelEnabled", true);
m_bCommandBlocksEnabled = IniFile.GetValueSetB("Mechanics", "CommandBlocksEnabled", false);
m_bEnabledPVP = IniFile.GetValueSetB("Mechanics", "PVPEnabled", true);
m_bUseChatPrefixes = IniFile.GetValueSetB("Mechanics", "UseChatPrefixes", true);