Stargate Network

Stargate Network

3M Downloads

ZPMs can go into negative energy

Bysokar opened this issue ยท 1 comments

commented

As shown here:

https://github.com/AlmuraDev/SGCraft/blob/master/src/mod/gcewing/sg/features/ic2/zpm/modulehub/ZpmHubTE.java#L137
https://github.com/AlmuraDev/SGCraft/blob/master/src/mod/gcewing/sg/features/ic2/zpm/interfacecart/ZpmInterfaceCartTE.java#L128

ZPMs can go into negative energy, and whilst they will immediately be found depleted after dropping below zero it would be nice to fix this one up :)

Should just require a tweak to return supply, not amount.

commented

I agree with this. Fix incoming.