mojira.dev

Fox2Code

Assigned

No issues.

Reported

WEB-5798 Minecraft Website block FireFox users on Linux. Duplicate

Comments

The class to change is net.minecraft.client.gui.font.FontManager a line 81

The original working code in 1.18.2 code in was:

try {
    profiler.push(fontType);
    [load font code];
catch (RuntimeException var22) {
    LOGGER.warn("Unable to load font '{}' in {} in resourcepack: '{}': {}", identifier, "fonts.json", resource.getResourcePackName(), e.getMessage());
}
profiler.pop();

The new failing code in 1.19.1-rc1 is:

try {
    profiler.push(fontType);
    [load font code];
finally {
    profiler.pop();
}

I'm being pressured by the community to participate in this, I am sorry in advance if I made anyone feel bad with this comment.

It seems a try catch had been removed inside FontManager between 1.18.2 and 1.19, instead of ignoring failing providers, it just break the game instead.

Ignoring failing providers is a requirement for LoneDev widely used plugin which allow 3rd party add-ons that cause new entries added to the providers list.