Keksuccino / FancyMenu

Source code for FancyMenu.
Other
161 stars 20 forks source link

Joining a server causing the game to close/crash #627

Closed NoThrottle closed 9 months ago

NoThrottle commented 10 months ago

Describe the bug Using a custom button with the button action "join server", upon pressing it, the game shows the "Saving world" screen then closes. This should not be because of the server itself as I can join the server no problems using the multiplayer screen.

To Reproduce Steps to reproduce the behavior (e.g.):

  1. Create a custom button
  2. Add an action 'joinserver'
  3. Set the value to 'mc.hypixel.net'
  4. Save the layout and exit editing
  5. Press the button

Expected behavior Opens the server, similar to opening the multiplayer screen then pressing the list item of a server.

Game Log https://gist.github.com/NoThrottle/7be359ce95b117ff9fab2aa425226e3f Causes "java.lang.NullPointerException: Screen cannot be null"

Basic Informations (please complete the following information):

NoThrottle commented 10 months ago

Bug only applies when using the button on the main menu.

cad3264 commented 9 months ago

I happen to have the same issue, i really hope the devs fix this soon, but for now just make any buttons that connect to servers just go to the multiplayer menu i guess

Keksuccino commented 9 months ago

FancyMenu v3 is now out and it's a full rewrite, so I'm closing this for now. If it still happens, please open a new issue, thank you.