float capacity = (float) (((IEnergyContainer) handler).getEnergyCapacity(ForgeDirection.UNKNOWN) * CompatibilityType.BUILDCRAFT.ratio);
if(capacity < 1)
{
capacity = 1;
}
powerHandler.configure(0, capacity, 1, capacity);
}
powerHandler.configurePowerPerdition(0, 0);
powerProviderMap.put(handler, powerHandler);
}