mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
update to minecraft-data 2.0.0
This commit is contained in:
parent
f07cd78758
commit
c6e36d626c
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
|||
"endian-toggle": "^0.0.0",
|
||||
"lodash.get": "^4.1.2",
|
||||
"lodash.merge": "^4.3.0",
|
||||
"minecraft-data": "^1.4.1",
|
||||
"minecraft-data": "^2.0.0",
|
||||
"prismarine-nbt": "^1.0.0",
|
||||
"protodef": "^1.2.3",
|
||||
"readable-stream": "^2.0.5",
|
||||
|
|
|
@ -33,7 +33,7 @@ module.exports = function(client, options) {
|
|||
minecraftVersion = brandedMinecraftVersion;
|
||||
}
|
||||
|
||||
const versionInfo = minecraft_data.versionsByMinecraftVersion[minecraftVersion];
|
||||
const versionInfo = minecraft_data.versionsByMinecraftVersion[minecraftVersion]["pc"];
|
||||
if (!versionInfo) throw new Error(`unsupported/unknown protocol version: ${protocolVersion}, update minecraft-data`);
|
||||
|
||||
options.version = minecraftVersion;
|
||||
|
|
Loading…
Reference in a new issue