mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
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:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user