Update BC API and fix up EnergyNet and CableUtils to work with the new MjAPI

This commit is contained in:
Ben Spiers committed 2014-07-31 18:41:32 +01:00
1 parent d8321196d9
commit d7c060d6fb
28 files changed
+231 -902

No files matched your search

@@ -209,7 +209,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