summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-05 16:55:16 +0200
committerMattes D <github@xoft.cz>2014-09-05 16:55:16 +0200
commit6444bc25ba326b20f2d6bd2e64992e7d7b8e7231 (patch)
treefd3f37d86212217fef0353422dfb0caf686ea272
parentAnvil: Fixed loading block entities with invalid Y coord. (diff)
downloadcuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.tar
cuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.tar.gz
cuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.tar.bz2
cuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.tar.lz
cuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.tar.xz
cuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.tar.zst
cuberite-6444bc25ba326b20f2d6bd2e64992e7d7b8e7231.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 756410989..51a1f8699 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -1670,7 +1670,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(), true);
+ a_World = cRoot::Get()->GetWorld(GetLoadedWorldName(), false);
m_LastBedPos.x = root.get("SpawnX", a_World->GetSpawnX()).asInt();
m_LastBedPos.y = root.get("SpawnY", a_World->GetSpawnY()).asInt();