mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 14:13:45 -04:00
fix kicking message in test for 1.12
This commit is contained in:
parent
d9d1b7a56e
commit
b445e7fb94
@ -182,7 +182,7 @@ mc.supportedVersions.forEach(function(supportedVersion,i) {
|
||||
});
|
||||
var gotKicked = false;
|
||||
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;
|
||||
});
|
||||
client.on('end', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user