OpenBlocks

OpenBlocks

56M Downloads

Cursor - animation

mikeemoo opened this issue ยท 1 comments

commented

Hello.

Putting this here in case someone clever can pick it up and find a solution.

Because I'm sending damage bar updates downstream when the cursor is recharging, the server damage bar is out of sync with the client damage bar. This causes it to occasionally 're-equip' the item, with the animation.

This looks rubbish.

The variables that change are ItemRenderer.prevEquippedProgress and ItemRenderer.equippedProgress. Both of which are private.

I've been looking for a way to get around it, but can't find an obvious solution. If anyone can think of a nice way to do it, please try! :)

I'll give it another poke tomorrow.

ta

commented

Irrelevant now