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

Suggestion: TownRuinedEvent.getMayorName() #5686

Closed
bloctown opened this issue Jan 29, 2022 · 0 comments
Closed

Suggestion: TownRuinedEvent.getMayorName() #5686

bloctown opened this issue Jan 29, 2022 · 0 comments

Comments

@bloctown
Copy link

Please explain your feature request to the best of your abilities:

When TownRuinedEvent runs, the mayor has already been deleted and replaced by an NPC, so TownRuinedEvent.getTown().getMayor returns the NPC mayor instead of the player who was mayor when the town was ruined/deleted (The same is true of DeleteTownEvent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants