
Wind Burst enchant on Mace ignores Knockback protection
Closed this issue ยท 1 comments
WorldEdit Version
7.3.12 Beta 2
WorldGuard Version
version/7.0.x #2336
Platform Version
Purpur Version: 1.21.4-2416-51aafbc (MC: 1.21.4)*
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of WorldGuard compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
Hitting a mob with a mace with Wind burst enchant throw the player standing next to it in region even when the region has pvp deny
. Players can then knock others out of a region by hitting other mobs next to them with mace & this enchant (assuming animal / mob harm is allowed in the region).
Expected Behavior
The knockback from the Mace with Wind burst should be denied, the same way as it is denied when using the mace without knockback (the default one makes the smash attack).
Reproduction Steps
- Set region with
pvp: deny
- Have a player and another mob standing close to each other
- Jump from >1.5 blocks and hit the mob with a mace with Wind burst enchant and see the player gets knocked out
Optional WorldGuard-Report
No response
Anything Else?
I guess it's similar to this issue #2190. The mentioned issue fixed the default knockback from mace (the smash attack), but there seems to be a bit different one when using the Wind burst enchant, and by testing this isn't fixed with the mentioned build.
looks fine on WG's end
[15:47:58 INFO]: [WorldGuard] DAMAGE SHEEP [CraftPlayer{name=wizjany}] @23,90,-67 : EntityDamageByEntityEvent
[15:47:58 INFO]: [WorldGuard] USE MACE [CraftPlayer{name=wizjany}] @world : EntityDamageByEntityEvent
[15:47:58 INFO]: [WorldGuard] DAMAGE SHEEP [CraftPlayer{name=wizjany}] @23,90,-67 : EntityKnockbackByEntityEvent
[15:47:58 INFO]: [WorldGuard] SPAWN EXPERIENCE_ORB [CraftSheep] @23,90,-67 : EntityDeathEvent
[15:47:58 INFO]: [WorldGuard] DAMAGE PLAYER [CraftPlayer{name=wizjany}] @25,90,-68 : EntityPushedByEntityAttackEvent [DENY]
if this is still happening either it's an upstream issue or you're not on a paper/wg build with the event in.
edit: yea the issue is that the wind charge explosion doesn't have a source entity. no way for us to trace it.