summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-21 23:10:05 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-21 23:10:05 +0100
commitec7aacebaa8d9c7532b1de97e8a9a9feda8651fe (patch)
tree58758f0a8f0c273e6e4c38398dd45497cbf63821 /source
parentMCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think) (diff)
downloadcuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.tar
cuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.tar.gz
cuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.tar.bz2
cuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.tar.lz
cuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.tar.xz
cuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.tar.zst
cuberite-ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe.zip
Diffstat (limited to 'source')
-rw-r--r--source/cServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cServer.cpp b/source/cServer.cpp
index dc4b5b5c9..8d4f9ea16 100644
--- a/source/cServer.cpp
+++ b/source/cServer.cpp
@@ -219,6 +219,7 @@ bool cServer::InitServer( int a_Port )
sid << std::hex << r1;
sid << std::hex << r2;
std::string ServerID = sid.str();
+ ServerID.resize(16, '0');
m_pState->ServerID = ServerID;
}
}