Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEU x Oneconfig: ClassCastException #1127

Closed
jani270 opened this issue Apr 28, 2024 · 1 comment · Fixed by #1187
Closed

NEU x Oneconfig: ClassCastException #1127

jani270 opened this issue Apr 28, 2024 · 1 comment · Fixed by #1187
Labels
crash This issue is about a crash (more important)

Comments

@jani270
Copy link
Collaborator

jani270 commented Apr 28, 2024

java.lang.ClassCastException: io.github.moulberry.notenoughupdates.options.separatesections.Mining$GlaciteTunnelWaypointBehaviour cannot be cast to java.lang.Integer
	at cc.polyfrost.oneconfig.gui.elements.config.ConfigDropdown.draw(ConfigDropdown.java:119)
	at cc.polyfrost.oneconfig.config.elements.OptionSubcategory.draw(OptionSubcategory.java:97)
	at cc.polyfrost.oneconfig.gui.pages.ModConfigPage.draw(ModConfigPage.java:87)
	at cc.polyfrost.oneconfig.gui.pages.Page.scrollWithDraw(Page.java:106)
	at cc.polyfrost.oneconfig.gui.OneConfigGui.draw(OneConfigGui.java:297)
	at cc.polyfrost.oneconfig.utils.gui.OneUIScreen.lambda$onDrawScreen$0(OneUIScreen.java:80)
	at cc.polyfrost.oneconfig.utils.gui.OneUIScreen$$Lambda$1124/1504892695.accept(Unknown Source)
	at cc.polyfrost.oneconfig.internal.renderer.NanoVGHelperImpl.setupAndDraw(NanoVGHelperImpl.java:146)
	at cc.polyfrost.oneconfig.internal.renderer.NanoVGHelperImpl.setupAndDraw(NanoVGHelperImpl.java:111)
	at cc.polyfrost.oneconfig.utils.gui.OneUIScreen.onDrawScreen(OneUIScreen.java:80)
	at cc.polyfrost.oneconfig.libs.universal.UScreen.onDrawScreen(UScreen.kt:220)
	at cc.polyfrost.oneconfig.libs.universal.UScreen$onDrawScreenCompat$1.invoke(UScreen.kt:226)
	at cc.polyfrost.oneconfig.libs.universal.UScreen$onDrawScreenCompat$1.invoke(UScreen.kt:224)
	at cc.polyfrost.oneconfig.libs.universal.UMatrixStack$Compat.runLegacyMethod(UMatrixStack.kt:288)
	at cc.polyfrost.oneconfig.libs.universal.UScreen.onDrawScreenCompat(UScreen.kt:224)
	at cc.polyfrost.oneconfig.libs.universal.UScreen.drawScreen(UScreen.kt:133)
	at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:311)
	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1436)
@jani270 jani270 added the crash This issue is about a crash (more important) label Apr 28, 2024
@Wyvest
Copy link
Contributor

Wyvest commented Apr 29, 2024

This seems to be an issue with the NEU compat layer and not due to a native OneConfig issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash This issue is about a crash (more important)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants