-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nation deleted message showing when a predeletenationevent is
cancelled. Not really happy with the implementation of this, as it changes our DataSource pattern to one where only a single removeObject method returns a boolean. The TownUtil change is also not ideal now or before this PR as the Nation can be prevented from being deleted, while still processing a refund. Potential alternative solutions: - Run the message in the DatabaseHandler method, and lose the custom deleted by admin message sent to the admin who deleted the nation. - Run the PreDeleteNation event before the removeNation(Nation) in order to prevent the TownUtil method being made redundant, and causing issues. Closes #7380.
- Loading branch information
Showing
5 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters