From b7e739ff43e5efd93d269634c67f1bf10a038b4d Mon Sep 17 00:00:00 2001 From: LemADEC Date: Sat, 16 Aug 2014 18:16:15 +0200 Subject: [PATCH] Reactor stats fix Fixing IC2 power output not updating stats --- src/cr0s/WarpDrive/machines/WarpEnergyTE.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cr0s/WarpDrive/machines/WarpEnergyTE.java b/src/cr0s/WarpDrive/machines/WarpEnergyTE.java index 7b0b7846..b8a12786 100644 --- a/src/cr0s/WarpDrive/machines/WarpEnergyTE.java +++ b/src/cr0s/WarpDrive/machines/WarpEnergyTE.java @@ -69,7 +69,7 @@ public abstract class WarpEnergyTE extends WarpTE implements IEnergyHandler, IEn protected boolean consumeEnergy(int amount, boolean simulate) { - if(getEnergyStored() >= amount) { + if (getEnergyStored() >= amount) { if (!simulate) { energyStored_internal -= amount; } @@ -177,7 +177,7 @@ public abstract class WarpEnergyTE extends WarpTE implements IEnergyHandler, IEn @Override public void drawEnergy(double amount) { - consumeEnergy(convertEUtoInternal(amount), false); + energyOutputDone(convertEUtoInternal(amount)); } @Override