When right clicking rideable entites, such as a horse, with an item like a sword in hand, whilst the attack indicator is "loading up", the attack indicator is not visually set back to zero. but when hitting an entity with the sword, it only deals half a heart of damage, as if the attack indicator was reset, which it was, just not visibly on the client.
Please update the description to include steps to reproduce this issue, as well as expected VS observed results.
Please also attach any needed datapacks, resourcepacks, screenshots, videos or worlds needed to help reproduce this issue.