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

Game crashes when modifying options in the ModMenu config screen on 1.21.4 #501

Open
DemonGamDev opened this issue Dec 30, 2024 · 1 comment

Comments

@DemonGamDev
Copy link

Bug Description

The error only occurs when the config button is clicked, so just having Mod Menu installed will not cause the crash. Manually modifying the config file still correctly applies changes, though attempting to open Mod Menu's config screen will reset options. Once the button is clicked, the game will briefly freeze with the words "saving world" appearing before crashing. The latest crash log contains the following error message:

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_4185.method_25355(net.minecraft.class_2561)" because "this.doneButton" is null at knot//org.embeddedt.modernfix.screen.ModernFixConfigScreen.method_25394(ModernFixConfigScreen.java:48) at knot//net.minecraft.class_437.method_47413(class_437.java:116) at knot//net.minecraft.class_757.mixinextras$bridge$method_47413$51(class_757.java) at knot//net.minecraft.class_757.wrapOperation$zmd000$fabric-screen-api-v1$onRenderScreen(class_757.java:912) at knot//net.minecraft.class_757.method_3192(class_757.java:549) at knot//net.minecraft.class_310.method_1523(class_310.java:1352) at knot//net.minecraft.class_310.method_1514(class_310.java:933) at knot//net.minecraft.client.main.Main.main(Main.java:265) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

Reproduction Steps

  • Install the latest version of Mod Menu and ModernFix
  • Open the Mods tab in-game
  • Select ModernFix
  • Click on the 'configure' in the top right of the ModernFix tab

Log File

latest.log

@DemonGamDev
Copy link
Author

Issue still occurs when using the beta 1.21.4 versions as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant