mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
fix kicking message in test for 1.12
This commit is contained in:
parent
d9d1b7a56e
commit
b445e7fb94
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ mc.supportedVersions.forEach(function(supportedVersion,i) {
|
||||||
});
|
});
|
||||||
var gotKicked = false;
|
var gotKicked = false;
|
||||||
client.on('disconnect', function(packet) {
|
client.on('disconnect', function(packet) {
|
||||||
assert.ok(packet.reason.indexOf('"Failed to verify username!"') != -1);
|
assert.ok(packet.reason.indexOf('"Failed to verify username!"') != -1 || packet.reason.indexOf('multiplayer.disconnect.unverified_username') != -1);
|
||||||
gotKicked = true;
|
gotKicked = true;
|
||||||
});
|
});
|
||||||
client.on('end', function() {
|
client.on('end', function() {
|
||||||
|
|
Loading…
Reference in a new issue