owobot/util/getProtocolVersion.js

4 lines
150 B
JavaScript

const mcd=require("minecraft-data")
module.exports = function (ver) {
return require("minecraft-data").versionsByMinecraftVersion.pc[ver].version
}