Update mcschema version for 1.18.2-pre3

This commit is contained in:
Misode
2022-02-26 21:07:59 +01:00
parent 0c9d6b9cc8
commit 8f496e6dbf
3 changed files with 15 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ export async function fetchData(versionId: string, collectionTarget: CollectionR
if (version.dynamic) {
if (localStorage.getItem(CACHE_LATEST_VERSION) !== latestVersion) {
await deleteMatching(url => url.startsWith(`${mcmetaUrl}/summary`))
await deleteMatching(url => url.startsWith(`${mcmetaUrl}/summary/`) || url.startsWith(`${mcmetaUrl}/data/`))
localStorage.setItem(CACHE_LATEST_VERSION, latestVersion)
}
version.ref = latestVersion