diff --git a/package.json b/package.json index 33c5368..63e2f1b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/version.js b/src/version.js index 7c8b165..ee795d9 100644 --- a/src/version.js +++ b/src/version.js @@ -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;