Skip to content

crossbow.go: Fix crossbow charging animation played even if the player has no suitable item to insert projectile into it#1272

Merged
HashimTheArab merged 2 commits into
df-mc:masterfrom
Dasciam:fix/crossbow-charging
Jun 9, 2026
Merged

crossbow.go: Fix crossbow charging animation played even if the player has no suitable item to insert projectile into it#1272
HashimTheArab merged 2 commits into
df-mc:masterfrom
Dasciam:fix/crossbow-charging

Conversation

@Dasciam

@Dasciam Dasciam commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • Added CanCharge method into Releasable interface

Tests:

Before:

Video_2026-06-09_05-03-04.mp4

After:

Video_2026-06-09_05-00-55.mp4

…r has no suitable item to insert suitable projectile into it
@Dasciam Dasciam changed the title crossbow.go: Fix crossbow charging animation played even if the player has no suitable item to insert suitable projectile into it crossbow.go: Fix crossbow charging animation played even if the player has no suitable item to insert projectile into it Jun 9, 2026
@HashimTheArab HashimTheArab merged commit 7c30428 into df-mc:master Jun 9, 2026
3 checks passed
@Dasciam Dasciam deleted the fix/crossbow-charging branch June 9, 2026 04:16
ClexaGod added a commit to GearsMC/dragonfly that referenced this pull request Jun 9, 2026
* item/crossbow.go: Always set critical flag to match vanilla (df-mc#1270)

* item/crossbow.go: Fix crossbow charging animation played even if the player has no suitable item to insert projectile into it (df-mc#1272)

* crossbow.go: Fix crossbow charging animation played even if the player has no suitable item to insert suitable projectile into it

* crossbow.go: use blank identifier for unused "tx" variable

---------

Co-authored-by: Dasciam <122279000+Dasciam@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants