Skip to content

[Bug]: Double protection denial message on block break #78

Description

@derrickmehaffy

Plugin Version

0.10.2

Operating System

Linux (Debian/Ubuntu)

Bug Description

When a player tries to break a block in protected territory, they receive the protection denial message twice. The duplicate message appears simultaneously in chat.

Steps to Reproduce

  1. Claim territory for a faction
  2. Log in as a non-member (or use a second account)
  3. Try to break a block in the claimed territory
  4. Observe two identical denial messages in chat

Expected Behavior

A single protection denial message should be displayed when a block break is denied.

Logs

No response

Code Snippets

No response

Media

No response

Additional information

Likely caused by both an ECS protection system and an event listener both firing denial messages for the same block break action. Needs investigation into whether BreakBlockEvent and the ECS BlockBreakProtectionSystem are both sending messages independently.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions