mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 22:23:21 -04:00
Update client_echo.js
This commit is contained in:
parent
bfc39811e4
commit
7ede9c3dcd
@ -1,4 +1,4 @@
|
||||
var mc = require('../')
|
||||
var mc = require('../../')
|
||||
, states = mc.protocol.states
|
||||
|
||||
var client = mc.createClient({
|
||||
@ -16,4 +16,4 @@ client.on('chat', function(packet) {
|
||||
if (username === client.username) return;
|
||||
client.write('chat', {message: msg});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user