Fixed an issue with IC2 doReceiveEnergy