Jigsaw Interactions Cannot Be Cancelled With PlayerInteractionEvent #10709
Labels
good first issue
Simple bug fix or feature which would be a good first PR for someone new to the project
status: accepted
Disputed bug is accepted as valid or Feature accepted as desired to be added.
type: bug
Something doesn't work as it was intended to.
version: 1.20.2
Game version 1.20.2
Expected behavior
When cancelling a PlayerInteractionEvent caused by an opped player in creative mode interacting with a Jigsaw block, one would expect the Jigsaw block GUI to not open on the player client's screen, as the event was cancelled.
Observed/Actual behavior
Instead, when the PlayerInteractionEvent related to the player (in creative mode) interacting with the jigsaw block is cancelled, the Jigsaw block's interface is still opened on the client. This is completely abnormal from what is expected when a PlayerInteractEvent is cancelled. For example:
Steps/models to reproduce
@eventhandler
public void onPlayerInteractEvent(PlayerInteractEvent event) {
event.setCancelled(true);
}
Plugin and Datapack List
I am running no plugins other than the one listed above for canceling all PlayerInteractEvents.
I am using no data packs.
Paper version
This server is running Paper version git-Paper-318 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 9271ee7)
You are running the latest version
Previous version: git-Paper-307 (MC: 1.19.2)
Other
No response
The text was updated successfully, but these errors were encountered: