Paper icon indicating copy to clipboard operation
Paper copied to clipboard

EntityShootBowEvent not cancelling crossbow shooting properly

Open MCD4U opened this issue 4 years ago • 3 comments

What behaviour is expected:

What you expected to see A charged/loaded crossbow should remain charged/loaded with the arrow after a player rightclicks/attempts to shoot with it.

What behaviour is observed:

What you actually saw The charged crossbow becomes uncharged (not loaded with an arrow).

Steps/models to reproduce:

This may include a build schematic, a video, or detailed instructions to help reconstruct the issue Cancel the EntityShootBowEvent (calling event.setConsumeItem(false) has no effect), and try to shoot with a loaded crossbow.

Plugin list:

A list of your plugins

Paper version:

Paste the output of running /version on your server WITH the Minecraft version. latest is not a version; we require the output of /version so we can properly track down the issue.

[20:19:14 INFO]: This server is running Paper version git-Paper-325 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
[20:19:14 INFO]: Previous version: git-Paper-174 (MC: 1.16.2)

Anything else:

Anything else you think may help us resolve the problem

MCD4U avatar Dec 15 '20 01:12 MCD4U

Hello, I'm a new contributor to Paper Spigot. Can I try to work on fixing this issue?

Camerooooon avatar Dec 17 '20 01:12 Camerooooon

The project is open source for a reason. Go ahead.

Oh BTW, I did confirm this issue exists. The event was cancelled insofar as the bolt did not fire, but the crossbow was discharged even when the event was cancelled.

Machine-Maker avatar Dec 17 '20 01:12 Machine-Maker

any update ?

bilemedimkq avatar Jun 19 '24 17:06 bilemedimkq