diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-21 23:10:05 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-21 23:10:05 +0100 |
commit | ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe (patch) | |
tree | 58758f0a8f0c273e6e4c38398dd45497cbf63821 /source | |
parent | MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think) (diff) | |
download | cuberite-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.cpp | 1 |
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;
}
}
|