Tech Reborn

Tech Reborn

30M Downloads

Fusion Computer GUI is broken due to (long) to (int) cast

aria1th opened this issue ยท 0 comments

commented

Describe the bug
It allows overflow in client GUI.

Steps to Reproduce
Place fusion reactor and increase its size

Screenshots
[If applicable, add screenshots to help explain your problem.]
2022-03-05_23 13 18
(https://github.com/TechReborn/TechReborn/blob/1.18/src/main/java/techreborn/client/gui/GuiFusionReactor.java#L118)

Environment (please complete the following information with the version):

  • Minecraft: 1.18.x
  • Mod Loader: fabric

Logs
Pastebin the log [e.g. logs/latest.log] and link it below:

Additional context
it should never be casted to int