Draconic-Inc / Draconic-Evolution

Other
333 stars 169 forks source link

[1.20.1] Editing the power target on the Tier 8 Energy Core can make the game crash #1810

Open Fred-Redstone-2 opened 1 month ago

Fred-Redstone-2 commented 1 month ago

Base information

Crash report

crash-2024-07-13_19.55.39-client.txt

Description / steps to reproduce

When setting a power target on the Tier 8 energy core menu, if I try to remove the first number and the second is zero, it sometimes makes the game crash; then after that, the game continually crashes when I try to reopen the menu because it's trying to divide the progress by zero (or at least, that's what I assume). How can I access my interface again?

Edit : Breaking and replacing the Energy Core fixes the issue, but I lost all my energy. Is there a way to edit the target value from ouside the interface, and if there isn't, can it be added in case of this issue?

Thank you in advance!

brandon3055 commented 1 month ago

Could not reproduce this crash, but this may fix it: https://maven.covers1624.net/com/brandon3055/draconicevolution/Draconic-Evolution/1.20.1-3.1.2.584/Draconic-Evolution-1.20.1-3.1.2.584-universal.jar Can you please test and confirm?