1
0

The world can now be configured wether farmers should be able to harvest crops.

This commit is contained in:
STRWarrior
2014-01-27 22:02:19 +01:00
parent 8bf9043f98
commit babc80ed77
3 changed files with 14 additions and 0 deletions

View File

@@ -547,6 +547,7 @@ void cWorld::Start(void)
m_IsDeepSnowEnabled = IniFile.GetValueSetB("Physics", "DeepSnow", false);
m_ShouldLavaSpawnFire = IniFile.GetValueSetB("Physics", "ShouldLavaSpawnFire", true);
m_bCommandBlocksEnabled = IniFile.GetValueSetB("Mechanics", "CommandBlocksEnabled", false);
m_VillagersShouldHarvestCrops = IniFile.GetValueSetB("Monsters", "VillagersShouldHarvestCrops", true);
m_GameMode = (eGameMode)IniFile.GetValueSetI("GameMode", "GameMode", m_GameMode);