Closed snurre0 closed 6 months ago
This is technically not a bug, deny-spawn
only affects spawning, but moving an entity through a portal is not spawning, it's teleporting.
Pretty similar to deny-spawn enderman
- enderman won't spawn in that region, but they can still teleport there
yea working as expected. there's separate feature requests to handle mob movement with flags but that's another can of worms entirely.
WorldEdit Version
7.3.0-beta-03+d6d222e
WorldGuard Version
7.0.10-SNAPSHOT+2260-c7319f1
Platform Version
Paper version git-Paper-408 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: c5d168c)
Confirmations
Bug Description
I'm unsure if this is actually a bug, but for many years using WorldGuard, players who tried to move mobs(e.g. shulkers) from the end through the central exit portal to spawn, ended up having their mobs automatically vanish when doing so, because our spawn is protected by a WorldGuard region. I assume that was happening because we have the deny-spawn flag set to true for the spawn area, but I am not entirely sure. At some point quite a while ago, moving mobs from the end to spawn was suddenly possible again, and mobs started ending up at spawn.
Expected Behavior
I would expect that setting the flag deny-spawn to true for a region covering the overworld spawn area, should prevent mobs from being teleported to spawn from the end through the portal.
Reproduction Steps
Optional WorldGuard-Report
No response
Anything Else?
No response