Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the plot change listener more efficient #5365

Merged
merged 1 commit into from
Oct 14, 2021
Merged

Conversation

Warriorrrr
Copy link
Member

@Warriorrrr Warriorrrr commented Oct 13, 2021

Description:

Makes the plot change listener more efficient by doing what the old method did in the listener itself. Towny#hasPlayerMode isn't used anywhere by us but it's kept in in the event of anyone else using it in their plugins. Main benefit is that it no longer uses getResident(String), but getResident(UUID) instead.


New Nodes/Commands/ConfigOptions:


Relevant Towny Issue ticket:


  • 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.

@Warriorrrr Warriorrrr added this to the 0.97.3.0 milestone Oct 13, 2021
@LlmDl LlmDl merged commit 53d4124 into master Oct 14, 2021
@LlmDl LlmDl deleted the fix/plot-change-listener branch October 14, 2021 16:39
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.

2 participants