diff options
author | madmaxoft <github@xoft.cz> | 2013-10-09 09:57:48 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-09 09:57:48 +0200 |
commit | 55999ee1187579179a70328808a4c856339ca97f (patch) | |
tree | 6335123ef5b8ff43b2e38e76282c45c61270b235 /source/Entities/Player.cpp | |
parent | Added static cFile functions to Lua API. (diff) | |
download | cuberite-55999ee1187579179a70328808a4c856339ca97f.tar cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.gz cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.bz2 cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.lz cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.xz cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.zst cuberite-55999ee1187579179a70328808a4c856339ca97f.zip |
Diffstat (limited to 'source/Entities/Player.cpp')
-rw-r--r-- | source/Entities/Player.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp index 9132bdbd0..d93b45614 100644 --- a/source/Entities/Player.cpp +++ b/source/Entities/Player.cpp @@ -16,7 +16,6 @@ #include "../Item.h" #include "../Tracer.h" #include "../Root.h" -#include "../OSSupport/MakeDir.h" #include "../OSSupport/Timer.h" #include "../MersenneTwister.h" #include "../Chunk.h" @@ -1340,7 +1339,7 @@ bool cPlayer::LoadFromDisk() bool cPlayer::SaveToDisk() { - cMakeDir::MakeDir("players"); + cFile::CreateFolder(FILE_IO_PREFIX + AString("players")); // create the JSON data Json::Value JSON_PlayerPosition; |