Streamline startup sequence

* Clean up cRoot & main
* Move some OS-specifics into OSSupport
This commit is contained in:
Tiger Wang
2020-09-05 13:16:52 +01:00
parent 5e670a050b
commit 1bc12ba2b3
13 changed files with 789 additions and 733 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ void cCommandBlockEntity::Execute()
{
cServer * Server = cRoot::Get()->GetServer();
LOGD("cCommandBlockEntity: Executing command %s", m_Command.c_str());
Server->ExecuteConsoleCommand(RealCommand, CmdBlockOutCb);
Server->QueueExecuteConsoleCommand(RealCommand, CmdBlockOutCb);
}
else
{