summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 12:49:17 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 12:49:17 +0200
commit3d3c51b1791501c1983146ce9a54bad0872f5d69 (patch)
treeee83bd7a269c08482110eee6297009cc42e5ab71
parentMerged the composable_generator branch into the trunk (diff)
downloadcuberite-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.cpp4
-rw-r--r--source/cPlayer.cpp4
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
{