Ender IO

Ender IO

98M Downloads

Replacing capacitor with a lower tier one causes energy to go above the maximum

cqundefine opened this issue ยท 1 comments

commented

Is there an existing issue for this?

  • I did not find any existing issues.

Current Behavior

If you charge a machine with a higher tier capacitor, and then replace the capacitor with a lower tier one the charge state stays above maximum and the energy bar goes off limit.

Image

Expected Behavior

The energy should be capped at what the new maximum is.

How to Test

  1. Place any machine (e.g. Alloy Smelter)
  2. Put an octadic capacitor in it
  3. Fully charge the machine
  4. Replace the capacitor with a double layer capacitor
  5. The current energy will exceed the maximum

Local Environment

- **Operating System**: Linux
- **Java version**: 21.0.3
- **Minecraft Version**: 1.12.1
- **Version**: 7.1.8-alpha
- **Other Mods**: FTB Evolution modpack

Any Additional Information?

No response

commented

Can be reproduced in enderio-7.1.8.654-nightly+84bfe2477.

Image