aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/GoodGenerator/Blocks/TEs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/GoodGenerator/Blocks/TEs')
-rw-r--r--src/main/java/GoodGenerator/Blocks/TEs/FuelRefineFactory.java6
-rw-r--r--src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/GoodGenerator/Blocks/TEs/FuelRefineFactory.java b/src/main/java/GoodGenerator/Blocks/TEs/FuelRefineFactory.java
index 9dd38e0b6f..46e7ccf73e 100644
--- a/src/main/java/GoodGenerator/Blocks/TEs/FuelRefineFactory.java
+++ b/src/main/java/GoodGenerator/Blocks/TEs/FuelRefineFactory.java
@@ -330,9 +330,9 @@ public class FuelRefineFactory extends GT_MetaTileEntity_MultiblockBase_EM imple
@SuppressWarnings("ALL")
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
if(aSide == aFacing){
- if(aActive) return new ITexture[]{new GT_RenderedTexture(Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL),new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE_ACTIVE)};
- return new ITexture[]{new GT_RenderedTexture(Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL),new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE)};
+ if(aActive) return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(48),new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE_ACTIVE)};
+ return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(48),new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE)};
}
- return new ITexture[]{new GT_RenderedTexture(Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL)};
+ return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(48)};
}
}
diff --git a/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java b/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java
index eaa711a3a0..a2fddf9554 100644
--- a/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java
+++ b/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java
@@ -38,7 +38,7 @@ public class MultiNqGenerator extends GT_MetaTileEntity_MultiblockBase_EM implem
private IStructureDefinition<MultiNqGenerator> multiDefinition = null;
private int ticker = 0;
- private int leftEnergy = 0;
+ private long leftEnergy = 0;
boolean fluidLocker = true;
FluidStack lockedFluid = null;
int times = 1;
@@ -286,7 +286,7 @@ public class MultiNqGenerator extends GT_MetaTileEntity_MultiblockBase_EM implem
leftEnergy += outputPower;
outputAmperes = leftEnergy / voltage;
leftEnergy -= outputAmperes * voltage;
- addEnergyOutput_EM(voltage ,outputAmperes);
+ addEnergyOutput_EM(voltage, outputAmperes);
}
else{
addEnergyOutput_EM(outputPower, 1);