-
Versions
Spigot/Paper/Sponge: 1.21.1
GriefDefender: 3.0.2
LuckPerms: 5.4.146
-
Describe the bug
LuckPerms world-rewrite config option is not respected for flag permission checks.
https://luckperms.net/wiki/Configuration#world-rewrite
(Other context providers are not provided either, although I only care for the world rewrites in this case)
-
Steps to reproduce the behavior
- Make sure world-rewrite is enabled in LuckPerms config
- Go to a world that is rewritten to another world. For example, if world_nether is rewritten to world, then go to world_nether.
- Enable LuckPerms verbose checking
/lp verbose record griefdefender & <player>
- Trigger a flag permission check.
- Use a GriefDefender command.
lp verbose paste. Notice that rewritten world is not included in context, only the actual world for the flag check. For command check, everything is as it should.
In this case, I expect the world to be rewritten to gensokyo.
- Screenshots


Versions
Spigot/Paper/Sponge: 1.21.1
GriefDefender: 3.0.2
LuckPerms: 5.4.146
Describe the bug
LuckPerms world-rewrite config option is not respected for flag permission checks.
https://luckperms.net/wiki/Configuration#world-rewrite
(Other context providers are not provided either, although I only care for the world rewrites in this case)
Steps to reproduce the behavior
/lp verbose record griefdefender & <player>lp verbose paste. Notice that rewritten world is not included in context, only the actual world for the flag check. For command check, everything is as it should.Expected behavior
Rewritten world is also included in context for flag checks
GDDEBUG
https://griefdefender.github.io/debug/?WmFa4mxnpk
In this case, I expect the world to be rewritten to
gensokyo.