From b7c5a4555744810378445cdeb71042ce1ab639f7 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Tue, 23 Jun 2020 17:02:31 +0200 Subject: [PATCH] fix tests --- test/clientTest.js | 2 -- test/serverTest.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/test/clientTest.js b/test/clientTest.js index bd61805..44f2d3c 100644 --- a/test/clientTest.js +++ b/test/clientTest.js @@ -103,8 +103,6 @@ mc.supportedVersions.forEach(function (supportedVersion, i) { wrap.on('line', lineListener) let chatCount = 0 client.on('login', function (packet) { - assert.strictEqual(packet.levelType, 'default') - assert.strictEqual(packet.dimension, 0) assert.strictEqual(packet.gameMode, 0) client.write('chat', { message: 'hello everyone; I have logged in.' diff --git a/test/serverTest.js b/test/serverTest.js index c5f9db1..368fd56 100644 --- a/test/serverTest.js +++ b/test/serverTest.js @@ -231,8 +231,6 @@ mc.supportedVersions.forEach(function (supportedVersion, i) { }) player1.on('login', function (packet) { assert.strictEqual(packet.gameMode, 1) - assert.strictEqual(packet.levelType, 'default') - assert.strictEqual(packet.dimension, 0) player1.once('chat', function (packet) { assert.strictEqual(packet.message, '{"text":"player2 joined the game."}') player1.once('chat', function (packet) {