Fixes solar panel not sending energy through cables when directly attached.
Implementation Details
Getting the energy container capability from a cable with a null facing retrieves the default energy handler. This energy handler is only useful when attempting to determine things like energy capacity, max amperage, and max voltage of the container.
This PR makes the solar panel retrieve the sided capability, which is capable of actually accepting energy, unlike the default container.
What
Fixes solar panel not sending energy through cables when directly attached.
Implementation Details
Getting the energy container capability from a cable with a
null
facing retrieves the default energy handler. This energy handler is only useful when attempting to determine things like energy capacity, max amperage, and max voltage of the container.This PR makes the solar panel retrieve the sided capability, which is capable of actually accepting energy, unlike the default container.
Outcome
Fixes solar panels outputting to cables.