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

Crash in 1.20.1 from getRealmsPeriodicCheckers() because "this.client" is null #100

Open
Trent2087 opened this issue Aug 2, 2023 · 0 comments

Comments

@Trent2087
Copy link

This happens with clearAllButtons()
The crash happens when entering options, multiplayer, single player etc screens and then trying to go back to the title screen.
I also tried re-adding a button with onClicked = realms() but that did not prevent the crash.

Only slight-gui-modifications-2.6.1+ dependencies + ModMenu and FabricAPI

Description: mouseClicked event handler
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.MinecraftClient.getRealmsPeriodicCheckers()" because "this.client" is null
at net.minecraft.client.realms.gui.screen.RealmsNotificationsScreen.onDisplayed(RealmsNotificationsScreen.java:54)
https://hastebin.com/share/irobufesum.yaml

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