
【BUG】Some right-click events on the Shears cannot be intercepted
CatTeaA opened this issue · 0 comments
WorldEdit Version
worldedit-bukkit-7.3.16
WorldGuard Version
worldguard-bukkit-7.0.14-dist
Platform Version
paper-1.21.8-25
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
Even without permission, players can right-click many mobs with shears to remove saddles, cut lead, etc.
Expected Behavior
WorldGuard should block players without permission from doing this.
Reproduction Steps
- Within the WorldGuard-protected area, prepare various armored mob: happy_ghast, each llama variant, each horse variant, strider, pig, camel, and others.(I can't guarantee a complete list.)https://minecraft.wiki/w/Shears#Shearing
- Have permission-less players right-click these mobs while holding shears.
Optional WorldGuard-Report
No response
Anything Else?
“It should be the new Shears mechanism introduced in 1.21.6+.”
You can refer to the shears update history on the wiki.
https://minecraft.wiki/w/Shears#History