From 219be8186c5b64df7f56cafe9e97322732c7a224 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 10 Mar 2012 22:27:24 +0000 Subject: Fixed a few obsoleted functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cServer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/cServer.cpp') diff --git a/source/cServer.cpp b/source/cServer.cpp index b36d353cb..88bf9d240 100644 --- a/source/cServer.cpp +++ b/source/cServer.cpp @@ -520,7 +520,7 @@ void cServer::ServerCommand( const char * a_Cmd ) } if( split[0].compare( "save-all" ) == 0 ) { - cRoot::Get()->GetWorld()->SaveAllChunks(); // TODO - Force ALL worlds to save their chunks + cRoot::Get()->SaveAllChunks(); // TODO - Force ALL worlds to save their chunks return; } if (split[0].compare("unload") == 0) @@ -540,7 +540,7 @@ void cServer::ServerCommand( const char * a_Cmd ) return false; } } Logger; - cRoot::Get()->GetWorld()->ForEachPlayer(Logger); + cRoot::Get()->ForEachPlayer(Logger); return; } if( split[0].compare( "numchunks" ) == 0 ) @@ -596,7 +596,7 @@ void cServer::Shutdown() m_bRestarting = true; m_pState->RestartEvent.Wait(); - cRoot::Get()->GetWorld()->SaveAllChunks(); + cRoot::Get()->SaveAllChunks(); cCSLock Lock(m_CSClients); for( ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr ) -- cgit v1.2.3