EvilCraft

EvilCraft

19M Downloads

Crash on launch in Turkish locale

jeremiahwinsley opened this issue ยท 1 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

Mod crashes on launch in Turkish locale due to use of toLower without specifying a locale.

"infested_nether_" + type.name().toLowerCase(),

new ResourceLocation(getId().getNamespace(), "broom_part/" + getId().getPath().toLowerCase()));

Steps to reproduce the problem:

  1. Fresh install of Forge 1.18.2 with Evilcraft installed.
  2. Add these args to startup to set the locale: -Duser.language=tr -Duser.country=TR
  3. Start the game.

Expected behaviour:

Calls to toLower should specify Locale.ROOT so that this doesn't crash.


Versions:

  • This mod: 1.2.2
  • Minecraft: 1.18.2
  • Forge: 40.1.30

Log file:

https://gist.github.com/jeremiahwinsley/70ec10f61b33f92ad258a8aff3972993

commented

Thanks for reporting!