
Nation deletion message is broadcast after cancelling PreDeleteNationEvent
galacticwarrior9 opened this issue ยท 0 comments
What steps will reproduce the problem?
- Cancel
PreDeleteNationEvent
@EventHandler
public void onPreNationDelete(PreDeleteNationEvent event) {
event.setCancelled(true);
}
- Observe how the nation deletion message is broadcast in chat despite the nation not being deleted.
What is the expected output?
No deletion message is broadcast.
Towny version
0.100.2.4 and 0.100.2.5
Server version
git-Purpur-2169 (MC: 1.20.4)
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log: See Line 950 onwards.
- Your Towny config.yml: Same as previously
- Your log's error: No error.