use minecraft-data version

This commit is contained in:
Romain Beaumont 2015-09-15 15:34:38 +02:00
parent a2abb70fc7
commit a24b79608b
2 changed files with 4 additions and 6 deletions

View file

@ -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",

View file

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