Closed UpcraftLP closed 2 years ago
https://github.com/FabricMC/fabric-mixin-compile-extensions/blob/f049573bc0ae4d50fc6fc37ea391f6f38cf429f3/src/main/java/net/fabricmc/loom/mixin/MixinExtUtils.java#L33 This snippet uses the no-argument overload of String#toUpperCase(), which should be replaced with String#toUpperCase(Locale.ROOT), to make the output independent of the system's current locale.
String#toUpperCase()
String#toUpperCase(Locale.ROOT)
https://github.com/FabricMC/fabric-mixin-compile-extensions/blob/f049573bc0ae4d50fc6fc37ea391f6f38cf429f3/src/main/java/net/fabricmc/loom/mixin/MixinExtUtils.java#L33 This snippet uses the no-argument overload of
String#toUpperCase()
, which should be replaced withString#toUpperCase(Locale.ROOT)
, to make the output independent of the system's current locale.