Add protocol version getter

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

View file

@ -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
}