This sentence is translated from Japanese to English. I am with the help from google translation
Hi,I play this MOD with my friends.But I found a bug in multiplayer.
When someone attacks with Halberd, another player also attacks
For example, when Player A attacks zombies at Halberd, Player B in another place attacks the breeding cow.
I thought about fixing this bug and I verified it.
When Player A opens or closes the door or fence gate, Player B attacks.
The same happens with Spear.
I saw the source code.I think this tickEvent(PlayerTickEvent) was the cause.
Because, this code issues an attack judgment when swinging player arm.And Spear and Halberd hava implement the IExtendedReachItem interface.
But this bug is difficult for me to solve.Do you have any ideas to solve?
[Version 1.1x.x.1] -Added hand mortar [Version 1.1x.x.2] -Fixed issue with IExtendedReachItem's -Added damage from blocks for bayonet on musket [Version 1.1x.x.3] -Fixed flail color -Improved algorithm of knockback from the enchanted entity (knife, spear, etc) [Version 1.1x.x.4] -Added item model for entities (knife, spear, etc) -Some fixes
If this had Villager militia it'd unironically be the mod I've dreamed of ever since villages came out.