mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-30 14:41:27 -04:00
README: server example code little typo fixed
This commit is contained in:
parent
7df40739dc
commit
fe38206fad
@ -90,7 +90,7 @@ server.on('login', function(client) {
|
|||||||
var msg = { translate: 'chat.type.announcement', using [
|
var msg = { translate: 'chat.type.announcement', using [
|
||||||
'Server',
|
'Server',
|
||||||
'Hello, ' + client.username
|
'Hello, ' + client.username
|
||||||
];
|
]};
|
||||||
client.write(0x03, { message: JSON.stringify(msg) });
|
client.write(0x03, { message: JSON.stringify(msg) });
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user