Add protocol version getter

This commit is contained in:
7cc5c4f330d47060 2024-09-12 00:17:09 -04:00
parent 19e21b1594
commit a67785b1d7
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -0,0 +1,4 @@
const mcd=require("minecraft-data")
module.exports = function (ver) {
return require("minecraft-data").versionsByMinecraftVersion.pc[ver].version
}