EngineHub / WorldGuard

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

Knockback from wind charges not handled #2097

Open wizjany opened 1 week ago

wizjany commented 1 week ago

WorldEdit Version

7.3.4-beta1

WorldGuard Version

7.0.11-beta1

Platform Version

Paper-dev

Confirmations

Bug Description

Even with wind-charge-burst deny cancelling EntityExplodeEvent, since no EntityDamageEvents are called, entities still get knocked back.

Expected Behavior

Need to handle EntityKnockbackByEntityEvent most likely, probably combine pvp and wind-charge-burst flags.

Reproduction Steps

  1. wind-charge-burst deny
  2. throw wind charge

Optional WorldGuard-Report

No response

Anything Else?

No response

wizjany commented 1 week ago

apparently the knockback event is paper-only. leaving this unprotected on spigot might be problematic though.