aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-04-17 15:39:22 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-04-17 15:39:22 +1000
commit0482091dd02c6305f2980d8df5533568875796fa (patch)
treede0161011bf89681bef582d0f35fa1db9341336c /src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity
parent70e00746c505683d86943be91af7b501e2452b60 (diff)
downloadGT5-Unofficial-0482091dd02c6305f2980d8df5533568875796fa.tar.gz
GT5-Unofficial-0482091dd02c6305f2980d8df5533568875796fa.tar.bz2
GT5-Unofficial-0482091dd02c6305f2980d8df5533568875796fa.zip
+ Added 4 more tiers of simple washers.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/custom/power/GTPP_MTE_BasicLosslessGenerator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/custom/power/GTPP_MTE_BasicLosslessGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/custom/power/GTPP_MTE_BasicLosslessGenerator.java
index e0fbade97c..8e6f36c4af 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/custom/power/GTPP_MTE_BasicLosslessGenerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/custom/power/GTPP_MTE_BasicLosslessGenerator.java
@@ -6,8 +6,8 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
+import gtPlusPlus.core.util.minecraft.gregtech.PollutionUtils;
import gregtech.api.util.GT_Recipe.GT_Recipe_Map;
-import gregtech.common.GT_Pollution;
import java.util.Collection;
import java.util.Iterator;
import net.minecraft.entity.player.EntityPlayer;
@@ -200,7 +200,7 @@ public abstract class GTPP_MTE_BasicLosslessGenerator extends GTPP_MTE_BasicTank
(this.maxEUStore() - aBaseMetaTileEntity.getUniversalEnergyStored()) / (long) tFuelValue);
if (tFluidAmountToUse > 0L && aBaseMetaTileEntity
.increaseStoredEnergyUnits(tFluidAmountToUse * (long) tFuelValue, true)) {
- GT_Pollution.addPollution(this.getBaseMetaTileEntity(), 10 * this.getPollution());
+ PollutionUtils.addPollution(this.getBaseMetaTileEntity(), 10 * this.getPollution());
this.mFluid.amount = (int) ((long) this.mFluid.amount - tFluidAmountToUse * (long) tConsumed);
}
}
@@ -216,7 +216,7 @@ public abstract class GTPP_MTE_BasicLosslessGenerator extends GTPP_MTE_BasicTank
if (aBaseMetaTileEntity.addStackToSlot(this.getOutputSlot(), tEmptyContainer)) {
aBaseMetaTileEntity.increaseStoredEnergyUnits((long) tFuelValue, true);
aBaseMetaTileEntity.decrStackSize(this.getInputSlot(), 1);
- GT_Pollution.addPollution(this.getBaseMetaTileEntity(), 10 * this.getPollution());
+ PollutionUtils.addPollution(this.getBaseMetaTileEntity(), 10 * this.getPollution());
}
}
}