diff --git a/README.md b/README.md index 8984176..79d7fec 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Unfortunately, Capitalisation Fixes v1 is not supported in versions newer than 1 ## Fixed strings -30 modified translation strings are included in the resource pack, which fix a total of 18 bugs. A lot of the issues are uncapitalised in-game names (which I've just referred to as "capitalisation"), but there are also other capitalisation and grammar issues in there. +29 modified translation strings are included in the resource pack, which fix a total of 18 bugs. A lot of the issues are uncapitalised in-game names (which I've just referred to as "capitalisation"), but there are also other capitalisation and grammar issues in there. - [Birthday Song advancement description](https://bugs.mojang.com/browse/MC-249980) (capitalisation) - [Sneak 100 advancement description](https://bugs.mojang.com/browse/MC-250158) (missing serial comma) diff --git a/src/builder.ts b/src/builder.ts index 9aa85ec..3b62f92 100644 --- a/src/builder.ts +++ b/src/builder.ts @@ -388,7 +388,7 @@ export async function generateStats( async function processFix(fix: Fix) { const versionMatch = await checkVersion(fix) const languageMatch = await checkLanguage(fix) - // if (!versionMatch || !languageMatch) return + if (!versionMatch || !languageMatch) return if (fix.data.bug) bugReports.add(fix.data.bug) translationKeys.add(fix.data.key) diff --git a/src/main.ts b/src/main.ts index 88c8d90..71e57dd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -6,10 +6,7 @@ import { MinecraftVersionSpecifier, VersionInfo } from "./minecraftHelpers.js" import fetch from "node-fetch" async function printStats() { - const stats = await generateStats(fixes, { - language: ["en_us"], - version: targetVersions, - }) + const stats = await generateStats(fixes) const { bugReports, translationKeys } = stats.count