mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -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) {
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user