Instant Blocks (Fabric)

Instant Blocks (Fabric)

5.5k Downloads

Use of `toLowerCase()` without specified locale causes crashes on Turkish systems

gliscowo opened this issue ยท 0 comments

commented

In FabricPacketHandler, the mod makes use of Java's toLowerCase() function for generating identifiers without specifying Locale.ROOT. This means that under certain conditions (specifically when generating the lowercase version of I on a system where the language is set to Turkish), non-ASCII characaters are generated - which the game does not allow as valid identifiers and thus crashes on launch