owobot/util/getProtocolVersion.js

4 lines
130 B
JavaScript
Executable file

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