summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-02-04 09:06:07 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-02-04 09:06:07 +0100
commit8f7d929140f5d4ee5a5c86d111740c265fd4135b (patch)
treecb5cc2edbfb8e364dbff575102f59f3ae44ae573 /src/Root.cpp
parentMerge pull request #2939 from LogicParrot/m_Target (diff)
downloadcuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.tar
cuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.tar.gz
cuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.tar.bz2
cuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.tar.lz
cuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.tar.xz
cuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.tar.zst
cuberite-8f7d929140f5d4ee5a5c86d111740c265fd4135b.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index aa532f88c..737d350ff 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -358,7 +358,7 @@ void cRoot::LoadWorlds(cSettingsRepositoryInterface & a_Settings, bool a_IsNewIn
// Fix servers that have default world configs created prior to #2815. See #2810.
// This can probably be removed several years after 2016
// We start by inspecting the world linkage and determining if it's the default one
- if (DefaultWorldName == "world")
+ if ((DefaultWorldName == "world") && (Worlds.size() == 1))
{
auto DefaultWorldIniFile= cpp14::make_unique<cIniFile>();
if (DefaultWorldIniFile->ReadFile("world/world.ini"))