aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/metatileentity/implementations
diff options
context:
space:
mode:
authorboubou_19 <miisterunknown@gmail.com>2021-11-29 02:39:06 +0100
committerboubou_19 <miisterunknown@gmail.com>2021-11-29 02:39:06 +0100
commit8494b65c5d390dd8c1035fd07534df55d1fb3ad4 (patch)
tree26248d270bb571b2dc858e2c4499e36c1f8bbc93 /src/main/java/gregtech/api/metatileentity/implementations
parent4d09a302d099f41109687c7eb0f44aa7636ae1d2 (diff)
downloadGT5-Unofficial-8494b65c5d390dd8c1035fd07534df55d1fb3ad4.tar.gz
GT5-Unofficial-8494b65c5d390dd8c1035fd07534df55d1fb3ad4.tar.bz2
GT5-Unofficial-8494b65c5d390dd8c1035fd07534df55d1fb3ad4.zip
removed useless overrides
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/implementations')
-rw-r--r--src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_MultiBlockBase.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_MultiBlockBase.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_MultiBlockBase.java
index 8fe70c4f72..f7b15f2c44 100644
--- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_MultiBlockBase.java
+++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_MultiBlockBase.java
@@ -398,13 +398,16 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
/**
* Gets the pollution this Device outputs to a Muffler per tick (10000 = one Pullution Block)
*/
- public abstract int getPollutionPerTick(ItemStack aStack);
+ public int getPollutionPerTick(ItemStack aStack){
+ return getPollutionPerSecond(aStack)/20;
+ }
/**
- * Gets the pollution produced per second by this multiblock
+ * Gets the pollution produced per second by this multiblock, default to 0. Override this with
+ * its actual value in the code of the multiblock.
*/
public int getPollutionPerSecond(ItemStack aStack){
- return 20 * getPollutionPerTick(aStack);
+ return 0;
}
/**