mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 06:53:24 +00:00
Add proper locale to all toLowerCase and toUpperCase calls
This commit is contained in:
1 parent
979cccd01f
commit
68d33efe3c
11 files changed
+20
-13
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package crazypants.enderio.machine.buffer;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
@@ -38,7 +39,7 @@ public class BlockItemBuffer extends ItemBlockWithMetadata {
|
||||
}
|
||||
|
||||
public String getUnlocalizedName() {
|
||||
return "tile." + ModObject.blockBuffer.unlocalisedName + "." + name().toLowerCase();
|
||||
return "tile." + ModObject.blockBuffer.unlocalisedName + "." + name().toLowerCase(Locale.US);
|
||||
}
|
||||
|
||||
public static ItemStack getStack(Type type) {
|
||||
|
||||
Reference in new issue
Block a user