diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-08 11:35:15 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-08 11:35:15 +0100 |
commit | 345eec5a2e3d60adb58e63185abd9b319d657765 (patch) | |
tree | 398522505d124f696735b07c82701b0829110158 /src/Entities/Player.cpp | |
parent | Merge pull request #2961 from LogicParrot/enforce (diff) | |
parent | remove cWorld::createAndInitializeWorld (diff) | |
download | cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.gz cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.bz2 cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.lz cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.xz cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.zst cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 5606e9668..b7f6f4d05 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1871,7 +1871,7 @@ bool cPlayer::LoadFromFile(const AString & a_FileName, cWorldPtr & a_World) cEnderChestEntity::LoadFromJson(root["enderchestinventory"], m_EnderChestContents); m_LoadedWorldName = root.get("world", "world").asString(); - a_World = cRoot::Get()->GetWorld(GetLoadedWorldName(), false); + a_World = cRoot::Get()->GetWorld(GetLoadedWorldName()); if (a_World == nullptr) { a_World = cRoot::Get()->GetDefaultWorld(); |