diff --git a/util/getProtocolVersion.js b/util/getProtocolVersion.js index 0f3cd6b..a350240 100644 --- a/util/getProtocolVersion.js +++ b/util/getProtocolVersion.js @@ -1,4 +1,4 @@ const mcd=require("minecraft-data") module.exports = function (ver) { - return require("minecraft-data").versionsByMinecraftVersion.pc[ver].version + return mcd.versionsByMinecraftVersion.pc[ver].version }