From 879dd3a5e462f5d278faac226d4eea5427816f2e Mon Sep 17 00:00:00 2001 From: roblabla Date: Fri, 11 Apr 2014 17:07:33 +0200 Subject: [PATCH] Quickfix : type in UUID field --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index dfe2b84..f48a9c9 100644 --- a/index.js +++ b/index.js @@ -177,14 +177,14 @@ function createServer(options) { client.end("Failed to verify username!"); return; } - client.UUID = uuid; + client.uuid = uuid; loginClient(); }); } } function loginClient() { - client.write(0x02, {uuid: (client.UUID | 0).toString(10), username: client.username}); + client.write(0x02, {uuid: (client.uuid | 0).toString(10), username: client.username}); client.state = states.PLAY; loggedIn = true; startKeepAlive();