When having a spear in mainhand and droping out an item from inventory, the spear attacks while it shouldn’t.
Step to reproduce :
Give yourself a spear in mainhand,
Give yourself some random item in inventory
Open the inventory and take an item
Drop it outside of the player inventory
Note how the spear attacks
✅ Expected Results :
The spear not attacking while in inventory
❌ Observed Results :
The spears attacks while in inventory
Linked issues
duplicates 1
Attachments
Comments 4
I’ve noticed this when interacting with blocks such as workstations & doors as well, and I’ve come to realize it’s because of how the attack animation is utilized.
There isn’t a generic “interaction” animation, it simply plays the punching animation, the same animation you see when attacking, mining, etc., and that’s the only such animation that has existed.
But the spear has now introduced another one, and when held, it uses that unique animation in all such cases.
Have you checked if it’s just a visual bug or actually does damage?