Auth Me

Auth Me

6M Downloads

Disconnected screen crashes the game when adding the re-login button

AnAwesomGuy opened this issue ยท 4 comments

commented

Expected behavior

show the disconnected screen

Observed/actual behavior

game crashed and showed "saving world" for a split second

Steps/models to reproduce

join a server
get kicked
see that the game crashes

Version

7.0.0

Agreements

  • I am running the latest version of the mod.
  • My version of Minecraft is supported.
  • I have searched for and ensured there isn't already an open issue regarding this.

Other

crash-2023-06-10_11.18.28-client.txt
looks like this mixin is crashing
it says that a TextWidget cannot be cast to a ButtonWidget in the DisconnectedScreen,

commented

also, it does show "Adding auth button to the disconnected screen"

commented

Thanks for reporting this @AnAwesomGuy. Please find the working version here: https://modrinth.com/mod/auth-me/version/7.0.1+1.20

commented

wait that was actually just fixable by changing a single number?

commented

Yeah, it looks like they added a couple labels before the buttons on that screen. Ideally, could iterate through the elements for the first ButtonWidget but this was the quickest fix.