EngineHub / EngineHub/WorldGuard
【BUG】Some right-click events on the Shears cannot be intercepted
- Dominant language
- Java
- Stars
- 938
- Forks
- 671
- PR merge metrics
- No merged PRs in 30d
Description
### WorldEdit Version
worldedit-bukkit-7.3.16
### WorldGuard Version
worldguard-bukkit-7.0.14-dist
### Platform Version
paper-1.21.8-25
### 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 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
1. 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
2. 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
Contributor guide
Assessment
This issue has not been assessed yet.