EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
820 stars 541 forks source link

Attacking the boat will trigger 'Knockback:Enchantment' #2137

Open CatBang opened 4 weeks ago

CatBang commented 4 weeks ago

WorldEdit Version

7.3.6

WorldGuard Version

worldguard-bukkit-7.0.11-beta1-dist

Platform Version

Paper 1.21.1#52

Confirmations

Bug Description

Within the protection area of WorldGuard, when a player uses a weapon with 'Knockback:Enchantment' to attack a boat, the Knockback effect will be triggered. When a player sprints and attacks the boat with an empty hand, the boat will also be knocked back.

Expected Behavior

Within the protection area of WorldGuard, when a player attacks a boat with a weapon that has 'Knockback:Enchantment', the Knockback effect should not be triggered

Reproduction Steps

  1. placing a boat on land or in the water
  2. attacking a boat with a weapon that has 'Knockback:Enchantment', or attacking a boat with an empty hand while sprinting

Optional WorldGuard-Report

No response

Anything Else?

https://github.com/user-attachments/assets/d404e07a-bd76-4258-81b3-e10159b3fbde