Skip to content

fix/gui screen cancel cast - #3

Closed
I-No-oNe wants to merge 1 commit into
mainfrom
fix/gui-screen-cancel-cast
Closed

fix/gui screen cancel cast#3
I-No-oNe wants to merge 1 commit into
mainfrom
fix/gui-screen-cancel-cast

Conversation

@I-No-oNe

@I-No-oNe I-No-oNe commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Type of change

  • Bug fix
  • New feature

Description

Write here a summary of the changes along with the reasoning behind the changes.

Related issues

Mention any issues that this pull request relates to.

Checklist:

  • My code follows the style guidelines of ItziSpyder(ImproperIssues).
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.
  • I have joined the ClickCrystals Discord.

MixinGui mix into Gui, but cancelled branch cast this to
AccessorMinecraftClient, which mix into Minecraft. Every cancelled screen
change throw ClassCastException, so joining server with no-load-screen on
kill the connection on level loading screen.

Go through mc.gui.setScreen(null). Invoker for setScreenAndShow now unused,
so drop it.
@I-No-oNe

I-No-oNe commented Aug 6, 2026

Copy link
Copy Markdown
Owner Author

Superseded by clickcrystals-development#154.

@I-No-oNe I-No-oNe closed this Aug 6, 2026
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

Successfully merging this pull request may close these issues.

1 participant