Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bows still fire after switching the held slot while holding #676

Closed
ItsZodiaX opened this issue Oct 5, 2022 · 1 comment · Fixed by #585
Closed

Bows still fire after switching the held slot while holding #676

ItsZodiaX opened this issue Oct 5, 2022 · 1 comment · Fixed by #585
Labels
bug Something isn't working
Milestone

Comments

@ItsZodiaX
Copy link
Contributor

vanilla vs df

@Blackjack200
Copy link
Contributor

i think the direct way to solve that is

change

s.c.ReleaseItem()

to something just like

p.usingItem.CAS(true, false)

in

if !p.usingItem.CAS(true, false) || !p.canRelease() || !p.GameMode().AllowsInteraction() {

@Sandertv Sandertv added the bug Something isn't working label Oct 22, 2022
@Sandertv Sandertv changed the title Bow still able to release after switched item slot Bows still fire after switching the held slot while holding Nov 26, 2024
@Sandertv Sandertv added this to the v0.10.0 milestone Nov 26, 2024
@Sandertv Sandertv linked a pull request Nov 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants