Merge pull request #242 from rom1504/use_mcdata_version

use minecraft-data version
This commit is contained in:
Robin Lambertz 2015-09-15 17:45:54 +02:00
commit 3a7fad0f2d
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;