Remove useless toString(10) in UUID

This commit is contained in:
Robin Lambertz 2014-09-08 14:35:50 +02:00
parent 25419343ba
commit a6b1e107f5

View File

@ -191,7 +191,7 @@ function createServer(options) {
if (onlineMode == false || isException) { if (onlineMode == false || isException) {
client.uuid = "0-0-0-0-0"; client.uuid = "0-0-0-0-0";
} }
client.write(0x02, {uuid: (client.uuid).toString(10), username: client.username}); client.write(0x02, {uuid: client.uuid, username: client.username});
client.state = states.PLAY; client.state = states.PLAY;
loggedIn = true; loggedIn = true;
startKeepAlive(); startKeepAlive();