aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionDetector.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionDetector.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionDetector.java
index 2f9bbcc9fb..78f60f13c9 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionDetector.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionDetector.java
@@ -350,15 +350,16 @@ public class GregtechMetaPollutionDetector extends GregtechMetaTileEntity {
}
//Emit Redstone
if (this.getCurrentChunkPollution() >= this.mRedstoneLevel){
- this.markDirty();
for (int i=0;i<6;i++){
this.getBaseMetaTileEntity().setStrongOutputRedstoneSignal((byte) i, (byte) 16);
}
+ this.markDirty();
}
else {
for (int i=0;i<6;i++){
this.getBaseMetaTileEntity().setStrongOutputRedstoneSignal((byte) i, (byte) 0);
}
+ this.markDirty();
}
//Do Math for stats