parent
36ea2bdb43
commit
2738ef955b
2 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue