Skip to content

Conversation

@Warriorrrr
Copy link
Member

Description:

Enforces that towns/nations/residents have non null UUIDs and prevents them from being changed later, in order to have reliable hashCode and equals methods.

That in turn allows us to remove all of the complicated renaming while still having everything just work.


  • I have tested this pull request for defects on a server.

By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the Towny License for perpetuity.

Copy link
Member

@LlmDl LlmDl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a few comments pointing out deprecations that didn't have a "since version X" in their comments, but there are more. Please add a "@deprecated since 0.101.2.*" to each of the newly deprecated methods.

@Warriorrrr Warriorrrr changed the title Clean up town/nation/resident renaming logic [UUID DB part 3] Clean up town/nation/resident renaming logic Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants