some small changes

This commit is contained in:
modmuss50 2015-07-25 17:11:03 +01:00
parent c869e1656c
commit 26f63e04f7
4 changed files with 5 additions and 2 deletions

View file

@ -46,6 +46,7 @@ public class GuiCentrifuge extends GuiContainer {
}
j = centrifuge.getEnergyScaled(12);
if(j > 0) {
this.drawTexturedModalRect(k + 9, l + 32 + 12 - j, 176, 12 - j, 14, j + 2);
}

View file

@ -16,12 +16,15 @@ public class GuiIndustrialElectrolyzer extends GuiContainer {
TileIndustrialElectrolyzer eletrolyzer;
ContainerIndustrialElectrolyzer containerIndustrialElectrolyzer;
public GuiIndustrialElectrolyzer(EntityPlayer player, TileIndustrialElectrolyzer tileeletrolyzer)
{
super(new ContainerIndustrialElectrolyzer(tileeletrolyzer, player));
this.xSize = 176;
this.ySize = 167;
eletrolyzer = tileeletrolyzer;
containerIndustrialElectrolyzer = (ContainerIndustrialElectrolyzer) this.inventorySlots;
}
@Override

View file

@ -18,7 +18,6 @@ import java.util.List;
public class ItemCells extends ItemTR {
//TODO recode this only using the ic2 api
public static ItemStack getCellByName(String name, int count)
{
Fluid fluid = FluidRegistry.getFluid("fluid" + name.toLowerCase());

View file

@ -25,7 +25,7 @@ public abstract class RFProviderTile extends TileMachineBase implements IEnergyR
sendPower();
}
public void sendPower() {//TODO fix this
public void sendPower() {
if (!PowerSystem.RFPOWENET) {
return;
}