Teleport of dragon eggs is no longer linked to building permissions
TheoRetisch1 opened this issue ยท 0 comments
WorldEdit Version
WorldEdit version 7.3.0-SNAPSHOT+6291-6951e79
WorldGuard Version
WorldGuard version 7.0.8-SNAPSHOT+2215-20044a7
Platform Version
git-Paper-368 (MC: 1.19.3)
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
Teleporting dragon eggs is no longer tied to building permissions, but to the interact flag. Since dragon eggs can be stolen and buildings destroyed by this action, it is not a harmless interact event and the teleport action should be linked to the building permissions.
Expected Behavior
If a player has no building rights in a worldguard region, he shouldn't be able to teleport a dragon egg away.
Reproduction Steps
- Create a worldguard region (
/rg define enderdragonegg_test
) - Try to teleport a dragon egg via right-click in the region without building permissions. -> The teleport of the dragon egg is possible.
- Set the interact flag to deny (
/rg flag enderdragonegg_test interact deny
) - Try to teleport a dragon egg via right-click in the region without building permissions. -> The teleport of the dragon egg is prevented by worldguard.
Optional WorldGuard-Report
https://paste.enginehub.org/8_U0wtoSB.report
Anything Else?
No response