WorldEdit Version
7.3.18
WorldGuard Version
7.0.15
Platform Version
purpur-1.21.11-2566.jar
Confirmations
Bug Description
If a player is inside a higher-priority region (gamemode set to survival) nested within a lower-priority region (gamemode set to creative) and teleports directly outside both regions, WorldGuard applies the outer region’s gamemode (creative) instead of reverting to the world’s default.
This only occurs when teleporting; walking between regions resolves gamemodes correctly.
Expected Behavior
If the destination is not within any region with a gamemode flag, the player should revert to the world’s default gamemode.
Reproduction Steps
- Set the world’s default gamemode to Survival
- Create a region
inner with:
gamemode = survival
priority = 2
- Create a region
outer that fully contains inner, with:
gamemode = creative
priority = 1
- Stand inside inner
- Teleport to a location outside both regions
- You'll now incorrectly be in Creative mode
Optional WorldGuard-Report
No response
Anything Else?
Note that this bug can also be reproduced on the latest beta release of WorldGuard.
This report is from a Purpur server, but also can be reproduced on the latest Paper and Spigot.
WorldEdit Version
7.3.18
WorldGuard Version
7.0.15
Platform Version
purpur-1.21.11-2566.jar
Confirmations
Bug Description
If a player is inside a higher-priority region (
gamemodeset tosurvival) nested within a lower-priority region (gamemodeset tocreative) and teleports directly outside both regions, WorldGuard applies the outer region’s gamemode (creative) instead of reverting to the world’s default.This only occurs when teleporting; walking between regions resolves gamemodes correctly.
Expected Behavior
If the destination is not within any region with a gamemode flag, the player should revert to the world’s default gamemode.
Reproduction Steps
innerwith:gamemode=survivalpriority=2outerthat fully containsinner, with:gamemode=creativepriority=1Optional WorldGuard-Report
No response
Anything Else?
Note that this bug can also be reproduced on the latest beta release of WorldGuard.
This report is from a Purpur server, but also can be reproduced on the latest Paper and Spigot.