knokko / custom-items-gradle

Knokko's Custom Items: Add custom items to your server, completely free of charge
MIT License
14 stars 3 forks source link

Custom attack range between 3 and 5 blocks #234

Closed knokko closed 1 year ago

knokko commented 1 year ago

It looks like the custom attack range for custom items doesn't work properly in minecraft 1.19.4 survival mode when the distance between the player and target is between ~3 and ~5 blocks.

The cause is that this plug-in uses the PlayerInteractEvent to handle custom attack ranges, but the minecraft server implementation doesn't fire this event in survival 1.19.4 between 3 and 5 blocks.

knokko commented 1 year ago

This will be fixed in 12.1