diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-27 12:49:17 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-27 12:49:17 +0200 |
commit | 3d3c51b1791501c1983146ce9a54bad0872f5d69 (patch) | |
tree | ee83bd7a269c08482110eee6297009cc42e5ab71 | |
parent | Merged the composable_generator branch into the trunk (diff) | |
download | cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.tar cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.tar.gz cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.tar.bz2 cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.tar.lz cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.tar.xz cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.tar.zst cuberite-3d3c51b1791501c1983146ce9a54bad0872f5d69.zip |
-rw-r--r-- | source/WorldStorage.cpp | 4 | ||||
-rw-r--r-- | source/cPlayer.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source/WorldStorage.cpp b/source/WorldStorage.cpp index 16439d162..c9ca69659 100644 --- a/source/WorldStorage.cpp +++ b/source/WorldStorage.cpp @@ -231,7 +231,9 @@ void cWorldStorage::InitSchemas(void) } // for itr - m_Schemas[]
// Unknown schema selected, let the admin know:
- LOGWARNING("Unknown storage schema name \"%s\". Using default. Available schemas:", m_StorageSchemaName.c_str());
+ LOGWARNING("Unknown storage schema name \"%s\". Using default (\"%s\"). Available schemas:",
+ m_StorageSchemaName.c_str(), m_SaveSchema->GetName().c_str()
+ );
for (cWSSchemaList::iterator itr = m_Schemas.begin(); itr != m_Schemas.end(); ++itr)
{
LOGWARNING("\t\"%s\"", (*itr)->GetName().c_str());
diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp index 961145d6e..87db2d19d 100644 --- a/source/cPlayer.cpp +++ b/source/cPlayer.cpp @@ -682,7 +682,9 @@ void cPlayer::ResolveGroups() cGroup* CurrentGroup = *ToIterate.begin();
if( AllGroups.find( CurrentGroup ) != AllGroups.end() )
{
- LOGERROR("ERROR: Player %s is in the same group multiple times (%s). FIX IT!", m_PlayerName.c_str(), CurrentGroup->GetName().c_str() );
+ LOGWARNING("ERROR: Player \"%s\" is in the group multiple times (\"%s\"). Please fix your settings in users.ini!",
+ m_PlayerName.c_str(), CurrentGroup->GetName().c_str()
+ );
}
else
{
|