Skip to content

Commit 3c7782c

Browse files
committed
Fission Reactor Port voids coolant #152
1 parent bb83a47 commit 3c7782c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/igentuman/nc/multiblock/fission/FissionReactorMultiblock.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ private void tickActiveHeatSinks() {
131131
activeCooling -= getCoolingByCoolant(coolant, amount);
132132
continue;
133133
}
134-
controllerBE().drainCoolant(coolant, amount);
134+
if (controllerBE().heat > 0 || controllerBE().isProcessing()) {
135+
controllerBE().drainCoolant(coolant, amount);
136+
}
135137
}
136138
controllerBE().activeCooling = activeCooling;
137139
}
@@ -384,9 +386,6 @@ public double countCooling(boolean forceCheck) {
384386
if(refreshInnerCacheFlag || forceCheck) {
385387
heatSinkCooling = 0;
386388
for (HeatSinkBlock hs : validHeatSinks().values()) {
387-
if(hs.isActive()) {
388-
// continue;
389-
}
390389
heatSinkCooling += hs.heat;
391390
}
392391
}

0 commit comments

Comments
 (0)