Fix some pesky bugs and crashes

This commit is contained in:
Aidan Brady 2013-12-03 16:56:03 -05:00
parent 54fa437cb1
commit afe85f9215
3 changed files with 5 additions and 2 deletions

View file

@ -96,7 +96,7 @@ public class GuiElectricChest extends GuiContainer
int xAxis = (mouseX - (width - xSize) / 2);
int yAxis = (mouseY - (height - ySize) / 2);
fontRenderer.drawString(tileEntity.getInvName(), 8, 6, 0x404040);
fontRenderer.drawString(MekanismUtils.localize("tile.MachineBlock.ElectricChest.name"), 8, 6, 0x404040);
fontRenderer.drawString(getLocked() ? EnumColor.DARK_RED + "Locked" : EnumColor.BRIGHT_GREEN + "Unlocked", 97, 137, 0x404040);
fontRenderer.drawString(MekanismUtils.localize("container.inventory"), 8, (ySize - 96) + 2, 0x404040);

View file

@ -682,6 +682,9 @@ public class Mekanism
OreDictionary.registerOre("oreOsmium", new ItemStack(OreBlock, 1, 0));
OreDictionary.registerOre("oreCopper", new ItemStack(OreBlock, 1, 1));
OreDictionary.registerOre("oreTin", new ItemStack(OreBlock, 1, 2));
//MC stuff
OreDictionary.registerOre("oreCoal", new ItemStack(Block.oreCoal));
}
/**

View file

@ -396,5 +396,5 @@ text.tesla.success=Linked tesla successfully
//Gui text
gui.heatGenerator.fuel=Fuel
gui.solarGenerator.sun=Sun
gui.bioGenerator.biofuel=BioFuel
gui.bioGenerator.bioFuel=BioFuel
gui.electrolyticSeparator.dump=Dump