Skip to content

Cancelling PlayerInteractEvent does not prevent breaking blocks at 0, 0, 0 #12196

@Karotte128

Description

@Karotte128

Expected behavior

blocks at 0 0 0 will not break

Observed/Actual behavior

blocks at 0 0 0 break, they do not drop item

Steps/models to reproduce

  1. place a block at 0 0 0
  2. cancell PlayerInteractEvent using plugin: @EventHandler public void PlayerInteractEvent(PlayerInteractEvent event) { event.setCancelled(true); }
  3. go in survival mode and try to break block

Plugin and Datapack List

testplugin (what I used for cancelling block event)

Paper version

1.21.4-185-main@0a6e743 (2025-02-26T13:10:43Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: apistatus: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.version: 1.21.4Game version 1.21.4

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions