MI2-Utilities-Java icon indicating copy to clipboard operation
MI2-Utilities-Java copied to clipboard

Crash

Open Lamar1526 opened this issue 1 year ago • 1 comments

Every time i try to load the mod it goes into a crash loop. it started after i changed the power graph setting heres the error

Version: release steam build 146
(Foo's Client Version: cd7df92, Jan. 24, 2025)
Last Server: unknown/none
Source: mindustry-antigrief/mindustry-client-v7-builds
OS: Windows 10 x64 (amd64)
Java Version: 16.0.1
Runtime Available Memory: 8176mb
Cores: 12
Mods: mi2-utilities-java:1.6.2

java.lang.ArithmeticException: / by zero
	at mi2u.ui.CoreInfoMindow.lambda$setupCont$38(CoreInfoMindow.java:220)
	at arc.scene.ui.layout.Table.pane(Table.java:301)
	at arc.scene.ui.layout.Table.pane(Table.java:296)
	at mi2u.ui.CoreInfoMindow.setupCont(CoreInfoMindow.java:199)
	at mi2u.ui.elements.Mindow2.rebuild(Mindow2.java:81)
	at mi2u.ui.elements.Mindow2.lambda$new$2(Mindow2.java:71)
	at arc.Events.fire(Events.java:109)
	at arc.Events.fire(Events.java:92)
	at mindustry.ClientLauncher.update(ClientLauncher.java:255)
	at arc.backend.sdl.SdlApplication.listen(SdlApplication.java:205)
	at arc.backend.sdl.SdlApplication.loop(SdlApplication.java:193)
	at arc.backend.sdl.SdlApplication.<init>(SdlApplication.java:54)
	at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:58)

Lamar1526 avatar Feb 07 '25 11:02 Lamar1526