From a6b1e107f5465663bb3108ba89e941138cf04755 Mon Sep 17 00:00:00 2001 From: Robin Lambertz Date: Mon, 8 Sep 2014 14:35:50 +0200 Subject: [PATCH] Remove useless toString(10) in UUID --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index dd31c77..9f2fea0 100644 --- a/index.js +++ b/index.js @@ -191,7 +191,7 @@ function createServer(options) { if (onlineMode == false || isException) { 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; loggedIn = true; startKeepAlive();