Extra Generators

Extra Generators

1M Downloads

Also move energy into targets that allow insertion, but have capacity=0

shartte opened this issue ยท 1 comments

commented

This is the case for AE2 energy acceptors since they don't actually have a capacity. They forward energy into the internal grid using an invisible buffer that has no bound.

Check could be

if(target.supportsInsertion() && (target.amount < target.capacity || target.capacity == 0)) {
commented

You can just omit the capacity check altogether.