mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
fix String#toLowerCase() calls to toLowerCase(Locale.ROOT). Fixes #4957
This commit is contained in:
1 parent
2e9b95e187
commit
1415288bcf
28 files changed
+79
-37
No files matched your search
@@ -7,6 +7,8 @@ import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidRegistry;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
public class MekanismFluids
|
||||
{
|
||||
public static final Gas Hydrogen = new Gas("hydrogen", "mekanism:blocks/liquid/LiquidHydrogen");
|
||||
@@ -57,7 +59,7 @@ public class MekanismFluids
|
||||
for(Resource resource : Resource.values())
|
||||
{
|
||||
String name = resource.getName();
|
||||
String nameLower = name.toLowerCase();
|
||||
String nameLower = name.toLowerCase(Locale.ROOT);
|
||||
|
||||
OreGas clean = new OreGas("clean" + name, "oregas." + nameLower);
|
||||
clean.setVisible(false).setTint(resource.tint);
|
||||
|
||||
Reference in new issue
Block a user