Skip to content

BlockBreakEvent missfires when player in adventure mode switches item in a last tick #14042

Description

@Darwin1546

Expected behavior

BlockBreakEvent should be cancelled if block wasn't actually broken.

Observed/Actual behavior

BlockBreakEvent fires when player in adventure mode switches item in a last tick while breaking a block,

2026-07-09_01-40-39.mp4

look in the chat

Steps/models to reproduce

  1. Set gamemode to Adventure
  2. /give @p minecraft:wooden_shovel[can_break={blocks:["minecraft:sand"]}] 1
  3. Start breaking a sand and press F on a last tick

Plugin and Datapack List

none

Paper version

This server is running Paper version 26.1.2-74-ver/26.1.2@e4e17fc (2026-07-06T16:51:09Z) (Implementing API version 26.1.2.build.74-stable)

Other

Any chance of backporting the fix to 1.21.11? 👉👈

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions