mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
use minecraft-data version
This commit is contained in:
parent
a2abb70fc7
commit
a24b79608b
2 changed files with 4 additions and 6 deletions
|
@ -44,7 +44,7 @@
|
|||
"babel-runtime": "^5.4.4",
|
||||
"buffer-equal": "0.0.0",
|
||||
"lodash.reduce": "^3.1.2",
|
||||
"minecraft-data": "0.9.0",
|
||||
"minecraft-data": "0.10.0",
|
||||
"node-uuid": "~1.4.1",
|
||||
"prismarine-nbt": "0.0.1",
|
||||
"readable-stream": "^1.1.0",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
module.exports={
|
||||
version:47,
|
||||
minecraftVersion:'1.8.1',
|
||||
majorVersion:'1.8'
|
||||
};
|
||||
var majorVersion='1.8';
|
||||
var mcData=require("minecraft-data")(majorVersion);
|
||||
module.exports=mcData.version;
|
||||
|
|
Loading…
Reference in a new issue