Add protocol version getter
This commit is contained in:
parent
a67785b1d7
commit
9847623b25
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
const mcd=require("minecraft-data")
|
const mcd=require("minecraft-data")
|
||||||
module.exports = function (ver) {
|
module.exports = function (ver) {
|
||||||
return require("minecraft-data").versionsByMinecraftVersion.pc[ver].version
|
return mcd.versionsByMinecraftVersion.pc[ver].version
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue