Fix the BuildCraft leak quickly

This is already solved in development branches but that commit would pull in a bunch of other stuff as well.
This commit is contained in:
Ben Spiers 2014-08-03 03:14:17 +01:00
parent 9f0e564013
commit 32a52c5f03

View file

@ -210,7 +210,7 @@ public abstract class TileEntityElectricBlock extends TileEntityContainerBlock i
@Method(modid = "BuildCraftAPI|power")
protected void reconfigure()
{
powerHandler.configure(1, (float)((getMaxEnergy()-getEnergy())*Mekanism.TO_BC), 0, (float)(getMaxEnergy()*Mekanism.TO_BC));
powerHandler.configure(0, (float)((getMaxEnergy()-getEnergy())*Mekanism.TO_BC), 0, (float)(getMaxEnergy()*Mekanism.TO_BC));
}
@Override