diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-03 00:10:54 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-04 13:19:12 +0200 |
commit | 9b68fab8ed79437736f3f231d0169d063a2cd4ae (patch) | |
tree | b508811e445b532e7a2895474958659257243008 /src/WorldStorage/WSSAnvil.cpp | |
parent | Added check if player is in spectator mode (#4709) (diff) | |
download | cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.gz cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.bz2 cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.lz cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.xz cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.zst cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.zip |
Diffstat (limited to 'src/WorldStorage/WSSAnvil.cpp')
-rwxr-xr-x | src/WorldStorage/WSSAnvil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index a5195196f..e7cd6e544 100755 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -669,7 +669,7 @@ OwnedBlockEntity cWSSAnvil::LoadBlockEntityFromNBT(const cParsedNBT & a_NBT, int { TypeName.assign(a_NBT.GetData(TagID), static_cast<size_t>(a_NBT.GetDataLength(TagID))); } - LOGINFO("WorldLoader({0}): Block entity mismatch: block type {1} ({2}), type \"{3}\", at {4}; the entity will be lost.", + FLOGINFO("WorldLoader({0}): Block entity mismatch: block type {1} ({2}), type \"{3}\", at {4}; the entity will be lost.", m_World->GetName(), ItemTypeToString(a_BlockType), a_BlockType, TypeName, a_Pos @@ -879,7 +879,7 @@ bool cWSSAnvil::CheckBlockEntityType(const cParsedNBT & a_NBT, int a_TagIdx, con expectedTypes.append(et); expectedTypes.push_back('\"'); } - LOGWARNING("Block entity type mismatch: exp {0}, got \"{1}\". The block entity at {2} will lose all its properties.", + FLOGWARNING("Block entity type mismatch: exp {0}, got \"{1}\". The block entity at {2} will lose all its properties.", expectedTypes.c_str() + 2, // Skip the first ", " that is extra in the string AString(a_NBT.GetData(TagID), static_cast<size_t>(a_NBT.GetDataLength(TagID))), a_Pos |