*Fixed Atomic Dissassembler name.
*Fixed Energy Cube GUI.
This commit is contained in:
Aidan Brady 2012-11-29 10:41:37 -05:00
parent 36ea2bdb43
commit 2738ef955b
2 changed files with 3 additions and 3 deletions

View file

@ -313,8 +313,8 @@ public class Mekanism
LanguageRegistry.addName(SpeedUpgrade, "Speed Upgrade");
LanguageRegistry.addName(EnergyUpgrade, "Energy Upgrade");
LanguageRegistry.addName(UltimateUpgrade, "Ultimate Upgrade");
LanguageRegistry.addName(AtomicDisassembler, "Nuclear Disassembler");
LanguageRegistry.addName(AtomicCore, "Nuclear Core");
LanguageRegistry.addName(AtomicDisassembler, "Atomic Disassembler");
LanguageRegistry.addName(AtomicCore, "Atomic Core");
LanguageRegistry.addName(ElectricBow, "Electric Bow");
LanguageRegistry.addName(StorageTank, "Hydrogen Tank");
LanguageRegistry.addName(NullRender, "Null Render");

View file

@ -44,7 +44,7 @@ public class GuiEnergyCube extends GuiContainer
guiWidth = (width - xSize) / 2;
guiHeight = (height - ySize) / 2;
drawTexturedModalRect(guiWidth, guiHeight, 0, 0, xSize, ySize);
int scale = (int)(((double)tileEntity.electricityStored / tileEntity.MAX_ELECTRICITY) * 72);
int scale = (int)(((double)tileEntity.electricityStored / tileEntity.tier.MAX_ELECTRICITY) * 72);
drawTexturedModalRect(guiWidth + 65, guiHeight + 17, 176, 0, scale, 20);
}
}