Fix minecraft-data as proper submodule

This commit is contained in:
adman
2026-01-13 15:37:52 +01:00
parent f97538fe19
commit ac2713433e
1083 changed files with 1 additions and 13761996 deletions
@@ -1,14 +0,0 @@
module.exports = forEach
const path = require('path')
const minecraftTypes = ['pc', 'bedrock']
function forEach (f) {
minecraftTypes.forEach(function (type) {
const versions = require('../../../data/' + type + '/common/versions')
versions.forEach(function (version) {
f(path.join(__dirname, '../../../data', type, version), type + ' ' + version)
})
})
}