From df31b5d63ac20daf9ba66ed119742e85a8dfef59 Mon Sep 17 00:00:00 2001 From: extremeheat Date: Thu, 9 Jun 2022 13:08:51 -0400 Subject: [PATCH] test/vanilla: temporary hack to allow 1.19 chunk tests to pass --- test/vanilla.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vanilla.js b/test/vanilla.js index 3f3aa0c..ac1cdda 100644 --- a/test/vanilla.js +++ b/test/vanilla.js @@ -4,7 +4,7 @@ const { Client } = require('../src/client') const { waitFor } = require('../src/datatypes/util') async function test (version) { - const ChunkColumn = require('bedrock-provider').chunk('bedrock_' + version) + const ChunkColumn = require('bedrock-provider').chunk('bedrock_' + (version.includes('1.19') ? '1.18.30' : version)) // TODO: Fix prismarine-chunk // Start the server, wait for it to accept clients, throws on timeout const handle = await vanillaServer.startServerAndWait2(version, 1000 * 220)