dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Bow still able to release after switched item slot

Open ItsZodiaX opened this issue 3 years ago • 1 comments

vanilla vs df

ItsZodiaX avatar Oct 05 '22 05:10 ItsZodiaX

i think the direct way to solve that is

change https://github.com/df-mc/dragonfly/blob/4113479b6b3cf29b571048dce1f7c60f13580dc8/server/session/player.go#L661 to something just like

p.usingItem.CAS(true, false)

in https://github.com/df-mc/dragonfly/blob/4113479b6b3cf29b571048dce1f7c60f13580dc8/server/player/player.go#L1403

Blackjack200 avatar Oct 05 '22 15:10 Blackjack200