Skip to content

Lower listener priorities for block events#8123

Merged
LlmDl merged 2 commits intomasterfrom
feat/block-listener-priority
Feb 28, 2026
Merged

Lower listener priorities for block events#8123
LlmDl merged 2 commits intomasterfrom
feat/block-listener-priority

Conversation

@Warriorrrr
Copy link
Copy Markdown
Member

Description:

Lowering the priority improves compatibility with plugins listening before us that have side effects in their listeners.

Removing the possibility of calling setCancelled(false) isn't necessary since we've got ignoreCancelled plastered everywhere (doesn't apply to events like PlayerInteractEvent, but not relevant here)

Supersedes #7828


  • 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.

@Warriorrrr Warriorrrr added this to the 0.103.0.0 milestone Feb 26, 2026
@LlmDl LlmDl merged commit 3ebe3d7 into master Feb 28, 2026
3 checks passed
@LlmDl LlmDl deleted the feat/block-listener-priority branch February 28, 2026 16:00
LlmDl added a commit that referenced this pull request Feb 28, 2026
  - Add setting manual NationLevels onto Nations, courtesy of
confusedalex with PR #8112. (First-Time Contributor!)
  - New Command: /ta nation NATIONNAME setnationlevel #|clear.
  - New Permission Node: towny.command.townyadmin.nation.setnationlevel
    - Child node of towny.command.townyadmin.nation.* and towny.admin.
  - Add Scoreboard/HUD support for Folia, convert Scoreboards to
Adventure.
  - Ignore colors in length validation, strip unwanted minimessage tags,
courtesy of Veyronity with PR #8116.
  - Bump org.jetbrains:annotations from 26.0.2 to 26.1.0.
  - Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.4 to
3.5.5.
  - Add Interaction entity to right click protected list.
    - Closes #8121.
  - Lower listener priorities for block events, courtesy of Warrior with
PR #8123.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants