summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-31 19:11:13 +0200
committerMattes D <github@xoft.cz>2014-05-31 19:11:13 +0200
commit6de45037c774f5fc748a4520b6f2afacdca94661 (patch)
treedc5908fdb33d679c05f10aa562ccbb107e7f3518 /src/Generating/BioGen.cpp
parentMerge pull request #951 from worktycho/chunksparsing/structs (diff)
parentUpdated PlainsVillage prefabs. (diff)
downloadcuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.gz
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.bz2
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.lz
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.xz
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.zst
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.zip
Diffstat (limited to 'src/Generating/BioGen.cpp')
-rw-r--r--src/Generating/BioGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp
index 32a687201..47ba080c6 100644
--- a/src/Generating/BioGen.cpp
+++ b/src/Generating/BioGen.cpp
@@ -212,7 +212,7 @@ void cBioGenCache::InitializeBiomeGen(cIniFile & a_IniFile)
void cBiomeGenList::InitializeBiomes(const AString & a_Biomes)
{
- AStringVector Split = StringSplit(a_Biomes, ",");
+ AStringVector Split = StringSplitAndTrim(a_Biomes, ",");
// Convert each string in the list into biome:
for (AStringVector::const_iterator itr = Split.begin(); itr != Split.end(); ++itr)