Fixed Universal Cable IC2 interaction, Solar Evaporation Plants now cool down half as fast as they did previously, also continue to operate with internal heat at night

This commit is contained in:
aidancbrady committed 2015-06-13 12:39:23 -04:00
1 parent ebe48abd84
commit b2be7ffe42
3 files changed
+10 -3

No files matched your search

@@ -133,10 +133,12 @@ public class EnergyNetwork extends DynamicNetwork<EnergyAcceptorWrapper, EnergyN
public double emit(double energyToSend, boolean doEmit)
{
double toUse = Math.min(getEnergyNeeded(), energyToSend);
if(doEmit)
{
buffer.amount += toUse;
}
return energyToSend-toUse;
}