mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-30 14:41:27 -04:00
Remove useless toString(10) in UUID
This commit is contained in:
parent
25419343ba
commit
a6b1e107f5
2
index.js
2
index.js
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user