
1.7.10 When the player attacks with spears and halberds, they will attack entities that cannot be attacked, such as skeleton arrows.
taka2914 opened this issue ยท 2 comments
Regarding the title.
If a player uses left-click to swing a long-reach weapon such as a spear or halberd while overlapping an entity that cannot attack, such as a skeleton arrow, the player will receive an "attack an invalid entity" warning and be rejected by the server.
No other weapons that don't have a modified range had any issues.
Version 1.23.0
Interesting - that is one of the many possibilities I did not take into account when porting this code:
I will try to publish a hotfix release today, which fixes this (by checking whether the entity is a EntityLivingBase
) and adds proper entity item models and a config GUI in 1.7.10!