-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Category: APIRelated to the plugin APIRelated to the plugin APIStatus: UnconfirmedBug has not yet been reproduced by a maintainerBug has not yet been reproduced by a maintainer
Description
Plugin information
Bug happens without plugins
Problem description
When breaking a block in Creative mode, if BlockBreakEvent
is cancelled, the event is called twice.
I noticed this while testing a plugin that cancels the event — the handler ran twice for a single block break.
This doesn't happen in Survival mode.
Expected behaviour
The BlockBreakEvent
should only be called once per block break attempt, even if it is cancelled.
PocketMine-MP version
5.31.0
PHP version
8.2
Server OS
Debian 12
Game version (if applicable)
Windows
Metadata
Metadata
Assignees
Labels
Category: APIRelated to the plugin APIRelated to the plugin APIStatus: UnconfirmedBug has not yet been reproduced by a maintainerBug has not yet been reproduced by a maintainer