diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-09-24 22:33:39 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2018-09-24 22:33:39 +0200 |
commit | 4727ed20846bb3d1a9eabb27aaaa9c5524129556 (patch) | |
tree | d6206a51db95a15fd3dfadb9691c868fc6bd8bd1 /src/Entities/Player.cpp | |
parent | Add BurnsInDaylight to Lua API and Monsters.ini (#4295) (diff) | |
download | cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.gz cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.bz2 cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.lz cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.xz cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.zst cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index cd1414adb..044b802b7 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -150,8 +150,8 @@ cPlayer::cPlayer(cClientHandlePtr a_Client, const AString & a_PlayerName) : SetWorld(World); // Use default world - LOGD("Player \"%s\" is connecting for the first time, spawning at default world spawn {%.2f, %.2f, %.2f}", - a_PlayerName.c_str(), GetPosX(), GetPosY(), GetPosZ() + FLOGD("Player \"{0}\" is connecting for the first time, spawning at default world spawn {1:.2f}", + a_PlayerName, GetPosition() ); } @@ -2256,8 +2256,8 @@ bool cPlayer::LoadFromFile(const AString & a_FileName, cWorldPtr & a_World) cStatSerializer StatSerializer(cRoot::Get()->GetDefaultWorld()->GetDataPath(), GetName(), GetUUID().ToLongString(), &m_Stats); StatSerializer.Load(); - LOGD("Player %s was read from file \"%s\", spawning at {%.2f, %.2f, %.2f} in world \"%s\"", - GetName().c_str(), a_FileName.c_str(), GetPosX(), GetPosY(), GetPosZ(), a_World->GetName().c_str() + FLOGD("Player {0} was read from file \"{1}\", spawning at {2:.2f} in world \"{3}\"", + GetName(), a_FileName, GetPosition(), a_World->GetName() ); return true; |