diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-10 23:27:24 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-10 23:27:24 +0100 |
commit | 219be8186c5b64df7f56cafe9e97322732c7a224 (patch) | |
tree | 73c72f03c4f1f2050a6e1ebf61e422052fb56312 /source/cServer.cpp | |
parent | Completely integrated the new axis ordering. Will update worlds accordingly (diff) | |
download | cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.tar cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.tar.gz cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.tar.bz2 cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.tar.lz cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.tar.xz cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.tar.zst cuberite-219be8186c5b64df7f56cafe9e97322732c7a224.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cServer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 )
|