Quickfix : type in UUID field

This commit is contained in:
roblabla 2014-04-11 17:07:33 +02:00
parent c1a5b8294b
commit 879dd3a5e4

View File

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