From a175976c48f7b6b4a30cbfb0e25f7047f8e3105c Mon Sep 17 00:00:00 2001 From: Misode Date: Tue, 4 Aug 2020 00:55:17 +0200 Subject: [PATCH] Fix mcdata registry url --- src/app/RegistryFetcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/RegistryFetcher.ts b/src/app/RegistryFetcher.ts index ea2e8956..2a5dbc4d 100644 --- a/src/app/RegistryFetcher.ts +++ b/src/app/RegistryFetcher.ts @@ -1,8 +1,8 @@ import { CollectionRegistry } from '@mcschema/core' export const mcdata = (version: string, registry: string) => { - return `https://raw.githubusercontent.com/Arcensoth/mcdata/${version}/processed/reports/registries/${registry}/${registry.split('/').pop()}.min.json` -} + return `https://raw.githubusercontent.com/Arcensoth/mcdata/${version}/processed/reports/registries/${registry}/data.min.json` +} export const RegistryFetcher = async (target: CollectionRegistry, registries: string[], version = 'master') => { await Promise.all(registries.map(async r => {