summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 22:51:19 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 22:51:19 +0200
commit873043c8e46dfd1ec764fbd5b673173ffe88271f (patch)
tree02ee456be3a1deda8d9c32f0dc77629dae14ab85 /src/Entities/Entity.cpp
parentTime and weather is saved, part of #1058 (diff)
downloadcuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.tar
cuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.tar.gz
cuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.tar.bz2
cuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.tar.lz
cuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.tar.xz
cuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.tar.zst
cuberite-873043c8e46dfd1ec764fbd5b673173ffe88271f.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 7d9c10ec6..2d8f385cb 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -1063,7 +1063,8 @@ void cEntity::DetectPortal()
{
case dimNether:
{
- cIniFile OwnIni; OwnIni.ReadFile(GetWorld()->GetIniFileName());
+ cIniFile OwnIni;
+ OwnIni.ReadFile(GetWorld()->GetIniFileName());
AString OverworldName = OwnIni.GetValue("General", "OverworldName", cRoot::Get()->GetDefaultWorld()->GetName());
cFile::CreateFolder(FILE_IO_PREFIX + OverworldName);
@@ -1102,7 +1103,8 @@ void cEntity::DetectPortal()
{
case dimEnd:
{
- cIniFile OwnIni; OwnIni.ReadFile(GetWorld()->GetIniFileName());
+ cIniFile OwnIni;
+ OwnIni.ReadFile(GetWorld()->GetIniFileName());
AString OverworldName = OwnIni.GetValue("General", "OverworldName", cRoot::Get()->GetDefaultWorld()->GetName());
cFile::CreateFolder(FILE_IO_PREFIX + OverworldName);