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();