@Override
        public void rewriteAndSubmit(String worldName, ContextConsumer consumer) {
            if (Context.isValidValue(worldName)) {
                consumer.accept(DefaultContextKeys.WORLD_KEY, worldName);
            }
        }
Rewrites world names according to the {@link ConfigKeys#WORLD_REWRITES} option.
common/src/main/java/me/lucko/luckperms/common/context/calculator/WorldNameRewriter.java