mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
Fix tests : client.session.username doesn't exist
This commit is contained in:
parent
5207141cec
commit
8ce13dd9e2
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ mc.supportedVersions.forEach(function(supportedVersion){
|
|||
var lineListener=function(line) {
|
||||
var match = line.match(/\[Server thread\/INFO\]: <(.+?)> (.+)/);
|
||||
if(!match) return;
|
||||
assert.strictEqual(match[1], client.session.username);
|
||||
assert.strictEqual(match[1], client.username);
|
||||
assert.strictEqual(match[2], "hello everyone; I have logged in.");
|
||||
wrap.writeServer("say hello\n");
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue