Skip to content

Worlds crash when ME controller is powered by 1A of MAX+15 or MAX+16 #4745

@dyatelok

Description

@dyatelok

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

7.5.2

Minecraft Version

1.20.1 Forge

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

I play TerraFirmaGreg 0.11.27, but i suppose it happens with just AE2 installed alongside.

Expected Behavior

World doesn't crash when ME controller is given 1 amp of MAX+15.

Actual Behavior

World does crash when ME controller is given 1 amp of MAX+15.

Steps to Reproduce

Place ME controller, don't power it. Place creative energy next to it, set voltage to MAX+15 or MAX+16 and 1 amp, activate.

Additional Information

Probably caused by an integer overflow when converting between EU and FE.

https://mclo.gs/wDsJb6c#L10484

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions