Skip to content

UUIDHelper improvements#25

Open
bigsir24 wants to merge 4 commits into
ToufouMaster:mainfrom
bigsir24:main
Open

UUIDHelper improvements#25
bigsir24 wants to merge 4 commits into
ToufouMaster:mainfrom
bigsir24:main

Conversation

@bigsir24

@bigsir24 bigsir24 commented Nov 16, 2025

Copy link
Copy Markdown

Fixes UUIDHelper freezing your game when looking at signs or flags if the UUID was invalid or could not be fetched.

Apparently this was already fixed by #22, the rest should still apply

UUIDHelper#getNameI18nFromUUID should now be used for getting usernames if necessary, as it will return two different translated keys instead of null, based on why it couldn't get the username:

  • None - The UUID was null or 0 (which is effectively invalid), signifies that a sign/flag has no owner
  • Unknown - The UUID could not be matched to a username for various reasons
  • Otherwise it returns the username for the given UUID

The UUID map should now also be updated when a player joins the server.

Misc:

  • 03904e3 - Fixed bad isServer check crashing the game when switching from multiplayer to singleplayer

@bigsir24 bigsir24 changed the title Fixed broken UUIDHelper UUIDHelper improvements Nov 16, 2025
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