mirror of
https://github.com/cuberite/cuberite.git
synced 2025-01-05 10:27:10 +08:00
Added Log That Says The Port (#5593)
* added logging that says the port * fixed my little oversight * removed useless level.dat
This commit is contained in:
parent
4b2b02a8ba
commit
b92dc1cda3
@ -4,6 +4,7 @@
|
||||
|
||||
#include "Server.h"
|
||||
#include "ClientHandle.h"
|
||||
#include "LoggerSimple.h"
|
||||
#include "Mobs/Monster.h"
|
||||
#include "Root.h"
|
||||
#include "World.h"
|
||||
@ -410,6 +411,7 @@ bool cServer::Start(void)
|
||||
auto Handle = cNetwork::Listen(PortNum, std::make_shared<cServerListenCallbacks>(*this, PortNum));
|
||||
if (Handle->IsListening())
|
||||
{
|
||||
LOGINFO("Server Running On Port: %s", port.c_str());
|
||||
m_ServerHandles.push_back(Handle);
|
||||
}
|
||||
} // for port - Ports[]
|
||||
|
Loading…
Reference in New Issue
Block a user