summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-10 21:46:12 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-10 21:46:12 +0200
commitae5975e674122148f979a211bcf82094c5d0a206 (patch)
treeb94884f7a00ac9e820d27d5213996ad6cf176b7e /source/World.cpp
parentRemoved some logging (diff)
downloadcuberite-ae5975e674122148f979a211bcf82094c5d0a206.tar
cuberite-ae5975e674122148f979a211bcf82094c5d0a206.tar.gz
cuberite-ae5975e674122148f979a211bcf82094c5d0a206.tar.bz2
cuberite-ae5975e674122148f979a211bcf82094c5d0a206.tar.lz
cuberite-ae5975e674122148f979a211bcf82094c5d0a206.tar.xz
cuberite-ae5975e674122148f979a211bcf82094c5d0a206.tar.zst
cuberite-ae5975e674122148f979a211bcf82094c5d0a206.zip
Diffstat (limited to 'source/World.cpp')
-rw-r--r--source/World.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 055a0a75e..fd4f5af6e 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -250,7 +250,8 @@ cWorld::cWorld( const AString & a_WorldName )
m_IsPumpkinBonemealable = IniFile.GetValueSetB("Plants", "IsPumpkinBonemealable", false);
m_IsSugarcaneBonemealable = IniFile.GetValueSetB("Plants", "IsSugarcaneBonemealable", false);
m_IsCactusBonemealable = IniFile.GetValueSetB("Plants", "IsCactusBonemealable", false);
-
+ m_bEnabledPVP = IniFile.GetValueSetB("PVP", "Enabled", true);
+
m_GameMode = (eGameMode)IniFile.GetValueSetI("GameMode", "GameMode", m_GameMode );
if (!IniFile.WriteFile())