WorldGuard icon indicating copy to clipboard operation
WorldGuard copied to clipboard

Knockback from wind charges not handled

Open wizjany opened this issue 1 year ago • 1 comments

WorldEdit Version

7.3.4-beta1

WorldGuard Version

7.0.11-beta1

Platform Version

Paper-dev

Confirmations

  • [X] I am using the most recent Minecraft release.
  • [X] I am using a version of WorldEdit compatible with my Minecraft version.
  • [X] I am using a version of WorldGuard compatible with my Minecraft version.
  • [X] I am using the latest or recommended version of my platform software.
  • [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • [X] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

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 avatar Jun 29 '24 03:06 wizjany

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

wizjany avatar Jun 30 '24 17:06 wizjany

Pls fix it..

xProMDFKx avatar Aug 26 '24 14:08 xProMDFKx

I report the same problem, same steps ;) And the same problem - continues to do kb

GenOpenDiesel avatar Aug 27 '24 21:08 GenOpenDiesel

Confirming

bobhenl avatar Aug 28 '24 15:08 bobhenl