summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-27 21:18:15 +0200
committermadmaxoft <github@xoft.cz>2014-05-27 21:18:15 +0200
commit6c25c356c7769b64fd43b0dd2611deb18bdd5619 (patch)
treeb4303b0c2cc87a32235cdfcf7314b5dcff36ccbb
parentFixed prefab test initialization. (diff)
downloadcuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.tar
cuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.tar.gz
cuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.tar.bz2
cuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.tar.lz
cuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.tar.xz
cuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.tar.zst
cuberite-6c25c356c7769b64fd43b0dd2611deb18bdd5619.zip
Diffstat (limited to '')
-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)