AlmuraDev / SGCraft

Stargates mod for Minecraft
https://www.almuramc.com/sgcraft/SGCraft.html
MIT License
31 stars 31 forks source link

ZPMs can go into negative energy #171

Closed Bysokar closed 4 years ago

Bysokar commented 4 years ago

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.

Dockter commented 4 years ago

I agree with this. Fix incoming.