Skip to content

Fix CellWonEvent being unable to be acted upon. #406

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

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

LlmDl
Copy link
Member

@LlmDl LlmDl commented Mar 12, 2025

Brief Description:

When run at LOWEST no plugin could act on the CellWonEvent without cancelling the event and then re-firing it (and potentially not getting it in before FlagWar operates off of it anyways.)


Changes:

This change makes the FW plugin act upon its own CellWonEvent on MONITOR priority, after other plugins have had their chance at listening/cancelling it on all of the other, lower priorities.


Relevant FlagWar Issue tickets:

Closes #405.


  • I have tested this pull request for defects on a server.

By making this pull request, I represent that I have read and agree to release my own changes that I
have submitted under the terms of the accompanying license (Apache-2.0). I guarantee that these
changes are mine and are not encumbered by any other license or restriction to the best of my
knowledge.

When run at LOWEST no plugin could act on the CellWonEvent without
cancelling the event and then re-firing it (and potentially not getting
it in before FlagWar operates off of it anyways.)

This change makes the FW plugin act upon its own CellWonEvent on MONITOR
priority, after other plugins have had their chance at
listening/cancelling it on all of the other, lower priorities.

Closes #405.
@LlmDl LlmDl added this to the 0.7.1 milestone Mar 12, 2025
@LlmDl LlmDl merged commit 9a38b09 into main Mar 12, 2025
1 check passed
@LlmDl LlmDl deleted the fix/CellWonEvent_priority branch March 12, 2025 15:58
inaaeon pushed a commit to inaaeon/FlagWar that referenced this pull request Apr 13, 2025
When run at LOWEST no plugin could act on the CellWonEvent without
cancelling the event and then re-firing it (and potentially not getting
it in before FlagWar operates off of it anyways.)

This change makes the FW plugin act upon its own CellWonEvent on MONITOR
priority, after other plugins have had their chance at
listening/cancelling it on all of the other, lower priorities.

Closes TownyAdvanced#405.
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.

[FlagWar] PreCellWonEvent in the API.
1 participant