Fix using localised names for overlay textures.

This commit is contained in:
Ben Spiers 2015-01-10 17:47:16 +00:00
parent 1a6a2e9530
commit 89be8b4482
19 changed files with 1 additions and 1 deletions

View file

@ -66,7 +66,7 @@ public class MekanismRenderer
{
for(EnumColor color : EnumColor.values())
{
colors[color.ordinal()] = event.map.registerIcon("mekanism:overlay/Overlay" + color.getLocalizedName().replace(" ", ""));
colors[color.ordinal()] = event.map.registerIcon("mekanism:overlay/overlay_" + color.unlocalizedName);
}
energyIcon = event.map.registerIcon("mekanism:LiquidEnergy");