IItemElectric item = (IItemElectric) toDischarge.getItem();
UEElectricPack request = PowerConversionUtils.INSTANCE.new UEElectricPack(item.discharge(toDischarge, maxRequest.toUEWatts(), false));
GenericPack actualTransmitted = getSmallest(maxRequest, request);
item.discharge(toDischarge, actualTransmitted.toUEWatts(), true);
return actualTransmitted;
}
else
return PowerConversionUtils.INSTANCE.new EmptyPack();