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

Auto-supress event message if empty #6028

Merged
merged 1 commit into from
Jul 18, 2022
Merged

Auto-supress event message if empty #6028

merged 1 commit into from
Jul 18, 2022

Conversation

ggvbo
Copy link
Contributor

@ggvbo ggvbo commented Jul 18, 2022

Description:

This pull request adds an Quality-of-Life change to the TownyActionEvent#setMessage(String) method by calling TownyActionEvent#suppressMessage(boolean) (added in #5925) if the content equals to ""


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.

@LlmDl LlmDl added this to the 0.98.4.0 milestone Jul 18, 2022
@LlmDl LlmDl merged commit 9083b72 into TownyAdvanced:master Jul 18, 2022
@ggvbo ggvbo deleted the qol/supress-if-empty branch November 21, 2022 19:11
@ggvbo ggvbo restored the qol/supress-if-empty branch November 21, 2022 19:11
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.

2 participants